Re: [PATCH libata v2] Allow system to allocate IRQ 0 to ATA devices

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

 



Hello!

On 11/2/2018 4:46 AM, Chaohong guo wrote:

Interrupt vector 0 can be used on some platform. In libata, the routine
ata_host_activate() considers irq=0 as invalid. As a result, when running
linux in non-root cell of Jailhouse,  if we allocate just one PCI ATA
device to the guest, the device will get an IRQ of value 0. Although IRQ0
is perfectly legal, ATA device will fail to start up. Besides, some ATA
drivers have the same bug and consider irq0 as invalid, So, we fix them as
well.

Signed-off-by: Chaohong guo <chaohong.guo@xxxxxxxxx>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>

   I haven't explicitly given you my Reviewed-by: tag, you can't add it
just because I commented to your patch.

MBR, Sergei



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux