Re: [PATCH] [SCSI] ufs: Assign UTRLBAU = upper_32_ bits(UTRLD base address)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 24, 2012 at 10:26 AM, Namjae Jeon <linkinjeon@xxxxxxxxx> wrote:
> 2012/4/23 Santosh Y <santoshsy@xxxxxxxxx>:
>> From: Santosh Yaraganavi <santoshsy@xxxxxxxxx>
>>
>> UTP Transfer request list base registers UTRLBA and UTRLBAU
>> must be assigned, lower-32 and upper-32 bits of UTRLD list
>> physical base addresses respectively.
>>
>> Currently UTRLBAU is being assigned lower-32 bits of UTRLD
>> physical base address. This will cause an issue with
>> controllers that can support 64-bit addressing.
>>
>> This patch correctly assigns upper-32 bits of UTRLD physical
>> base address to UTRLBAU.
> Hi. Santosh.
> 0 : 9 bits are reserved in UTRLBA of specification. is it considered also ?
> Thanks.
>

Hi Namjae,

During memory allocation for UTRDL, it is made sure that the UTRDL
physical base address is aligned to 1K by checking if the address is
aligned to PAGE_SIZE. If the address is PAGE_SIZE aligned, then it is
aligned to 1K. So we don't have to worry about the first 10 bits while
assigning the base address to UTRLBA.

-- 
~Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux