Submit #2390

PCIe memory mapped config

Added by yellowrabbit2010 over 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hello,
Writing 0xffffffff to BAR while memory address decoding in the PCI command register is enabled may make PCIe memory mapped configuration region inaccessible. Disabling memory address decoding can help.

Patch
http://yrabbit.freeshell.org/pcie.diff

History

#1 Updated by sepherosa about 2 years ago

Grab.

YONETANI,
could you test this patch w/ hw.pci.mcfg=1?

Best Regards,
sephe

On Wed, Jun 20, 2012 at 3:37 PM, Romick Romick via Redmine
<> wrote:
>
> Issue #2390 has been reported by Romick Romick.
>
> ----------------------------------------
> Submit #2390: PCIe memory mapped config
> http://bugs.dragonflybsd.org/issues/2390
>
> Author: Romick Romick
> Status: New
> Priority: Normal
> Assignee:
> Category:
> Target version:
>
>
> Hello,
> Writing 0xffffffff to BAR while memory address decoding in the PCI command register is enabled may make PCIe memory mapped configuration region inaccessible. Disabling memory address decoding can help.
>
> Patch
> http://yrabbit.freeshell.org/pcie.diff
>
>
> --
> You have received this notification because you have either subscribed to it, or are involved in it.
> To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

#2 Updated by y0n3t4n1 about 2 years ago

Hi,

On Tue, Jun 26, 2012 at 10:40:38AM +0800, Sepherosa Ziehau wrote:
> Grab.
>
> YONETANI,
> could you test this patch w/ hw.pci.mcfg=1?

Yes, the kernel booted with hw.pci.mcfg=1 in /boot/loader.conf
(the patch applied against 942d88efd, though).

Thank you!

> Best Regards,
> sephe
>
> On Wed, Jun 20, 2012 at 3:37 PM, Romick Romick via Redmine
> <> wrote:
> >
> > Issue #2390 has been reported by Romick Romick.
> >
> > ----------------------------------------
> > Submit #2390: PCIe memory mapped config
> > http://bugs.dragonflybsd.org/issues/2390
> >
> > Author: Romick Romick
> > Status: New
> > Priority: Normal
> > Assignee:
> > Category:
> > Target version:
> >
> >
> > Hello,
> > Writing 0xffffffff to BAR while memory address decoding in the PCI command register is enabled may make PCIe memory mapped configuration region inaccessible. Disabling memory address decoding can help.
> >
> > Patch
> > http://yrabbit.freeshell.org/pcie.diff
> >
> >
> > --
> > You have received this notification because you have either subscribed to it, or are involved in it.
> > To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
>
>
>
> --
> Tomorrow Will Never Die

#3 Updated by sepherosa about 2 years ago

On Wed, Jun 20, 2012 at 3:37 PM, Romick Romick via Redmine
<> wrote:
>
> Issue #2390 has been reported by Romick Romick.
>
> ----------------------------------------
> Submit #2390: PCIe memory mapped config
> http://bugs.dragonflybsd.org/issues/2390
>
> Author: Romick Romick
> Status: New
> Priority: Normal
> Assignee:
> Category:
> Target version:
>
>
> Hello,
> Writing 0xffffffff to BAR while memory address decoding in the PCI command register is enabled may make PCIe memory mapped configuration region inaccessible. Disabling memory address decoding can help.
>
> Patch
> http://yrabbit.freeshell.org/pcie.diff

Could you repost the patch? It is no longer there. I am going to commit it.

Thanks,
sephe

--
Tomorrow Will Never Die

#5 Updated by swildner about 2 years ago

  • Status changed from New to Closed

Pushed by sephe (f020c2dbea84d57235a24f26559feefae95a85dc)

Thanks!

Also available in: Atom PDF