Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pci-v4.4-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci

Pull PCI bugfix from Bjorn Helgaas:
"Here's another fix for v4.4.

This fixes 32-bit config reads for the HiSilicon driver. Obviously
the driver is completely broken without this fix (apparently it
actually was tested internally, but got broken somehow in the process
of upstreaming it).

Summary:

HiSilicon host bridge driver
Fix 32-bit config reads (Dongdong Liu)"

* tag 'pci-v4.4-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI: hisi: Fix hisi_pcie_cfg_read() 32-bit reads

+3 -1
+3 -1
drivers/pci/host/pcie-hisi.c
··· 61 61 *val = *(u8 __force *) walker; 62 62 else if (size == 2) 63 63 *val = *(u16 __force *) walker; 64 - else if (size != 4) 64 + else if (size == 4) 65 + *val = reg_val; 66 + else 65 67 return PCIBIOS_BAD_REGISTER_NUMBER; 66 68 67 69 return PCIBIOS_SUCCESSFUL;