NetBSD-Bugs archive

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

Re: kern/51251: ACPI device probe raises NMI



The following reply was made to PR kern/51251; it has been noted by GNATS.

From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/51251: ACPI device probe raises NMI
Date: Sun, 3 Jul 2016 15:03:25 +0200

 On Sun, Jul 03, 2016 at 12:10:01AM +0000, David Young wrote:
 [snip]
 >  ISTR there is a bit you can clear in the bus bridge to stop SERR from
 >  being forwarded upstream?  PCI_COMMAND_SERR_ENABLE, is it?
 >  
 >  It would be interesting to see the PCI Status Register on pci0 before
 >  and after the probe of 000:29:0.  Likewise, I'm curious what the PCI
 >  Command & Status Registers on 000:29:0 contain.
 
 With my ugly patch and this
 
 	if (bus == 0 && dev == 29 && func == 0) {
 		pcitag_t rtag;
 		pcireg_t rval;
 
 		rtag = pci_make_tag(pc, bus, 0, 0);
 		rval = pci_conf_read(pc, rtag, PCI_COMMAND_STATUS_REG);
 		printf("[ - 0:0:0 %#8x", rval);
 		rval = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
 		printf(" 0:29:0 %#8x ]\n", rval);
 	}
 
 before and after "Probe extended configuration space." I get:
 
 [ - 0:0:0 0x00900146 0:29:0 0x02800005 ]
 acpi0: MCFG: 000:29:0: invalid config space (cfg[0x100]=0x24d28086, alias=true)
 [ + 0:0:0 0x00900146 0:29:0 0x02800005 ]
 
 --
 J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)
 


Home | Main Index | Thread Index | Old Index