]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r258427, r258694
authorandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 12 Dec 2013 13:00:07 +0000 (13:00 +0000)
committerandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 12 Dec 2013 13:00:07 +0000 (13:00 +0000)
commit427fb95551d9787b0095cb42436c2582d2da661d
tree8fe4ccf0526f3ee8bacc067c8362b78d2e736895
parent30ded52f9ddd0e3fed94815bd761bbfbb602945a
MFC: r258427, r258694

r258694:
Make RTAS calls, which call setfault() to recover from machine checks,
preserve any existing fault buffer. RTAS calls are meant to be safe from
interrupt context (and are indeed used there to implement the xics PIC
driver). Without this, calling into RTAS in interrupt context would have
the effect of clearing any existing onfault state of the interrupted
thread, potentially leading to a panic.

r258427:
For PCI<->PCI bridges, #address-cells may be 3. Allow this when parsing the
ibm,dma-window properties. This is especially a concern when
#ibm,dma-address-cells is not specified and we have to use the regular
#address-cells property.

git-svn-id: svn://svn.freebsd.org/base/stable/10@259258 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/powerpc/ofw/rtas.c
sys/powerpc/pseries/plpar_iommu.c