tree: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/host-designware head: ac4108c530acc8f1c964a8b1c04d4523d026fd29 commit: 2b5839db931bcc499fe85e843297f1518385780a [2/6] PCI: dwc: Add COMPILE_TEST to all DesignWare-based drivers config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 2b5839db931bcc499fe85e843297f1518385780a # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): drivers/pci/dwc/pci-keystone.c: In function 'keystone_pcie_fault': >> drivers/pci/dwc/pci-keystone.c:256:7: error: 'struct pt_regs' has no member named 'uregs'; did you mean 'regs'? regs->uregs[reg] = -1; ^~ drivers/pci/dwc/pci-keystone.c:257:7: error: 'struct pt_regs' has no member named 'ARM_pc' regs->ARM_pc += 4; ^~ drivers/pci/dwc/pci-keystone.c: In function 'ks_pcie_host_init': drivers/pci/dwc/pci-keystone.c:288:2: error: implicit declaration of function 'hook_fault_code' [-Werror=implicit-function-declaration] hook_fault_code(17, keystone_pcie_fault, SIGBUS, 0, ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +256 drivers/pci/dwc/pci-keystone.c 5649e4ce drivers/pci/host/pci-keystone.c Bjorn Helgaas 2016-10-06 240 ks_dw_pcie_enable_error_irq(ks_pcie); 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 241 } 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 242 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 243 /* 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 244 * When a PCI device does not exist during config cycles, keystone host gets a 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 245 * bus error instead of returning 0xffffffff. This handler always returns 0 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 246 * for this kind of faults. 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 247 */ 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 248 static int keystone_pcie_fault(unsigned long addr, unsigned int fsr, 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 249 struct pt_regs *regs) 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 250 { 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 251 unsigned long instr = *(unsigned long *) instruction_pointer(regs); 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 252 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 253 if ((instr & 0x0e100090) == 0x00100090) { 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 254 int reg = (instr >> 12) & 15; 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 255 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 @256 regs->uregs[reg] = -1; 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 257 regs->ARM_pc += 4; 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 258 } 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 259 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 260 return 0; 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 261 } 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 262 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 263 static void __init ks_pcie_host_init(struct pcie_port *pp) 0c4ffcfe drivers/pci/host/pci-keystone.c Murali Karicheri 2014-09-02 264 { :::::: The code at line 256 was first introduced by commit :::::: 0c4ffcfe1fbc1ef564ec137eab21137cb013b00e PCI: keystone: Add TI Keystone PCIe driver :::::: TO: Murali Karicheri <m-karicheri2@xxxxxx> :::::: CC: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip