lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080710173243.3de505c7.akpm@linux-foundation.org>
Date:	Thu, 10 Jul 2008 17:32:43 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Yong Wang <yong.y.wang@...ux.intel.com>
Cc:	linux-kernel@...r.kernel.org, suresh.b.siddha@...el.com
Subject: Re: [PATCH] Intel IOMMU: RMRRs do not necessarily have to be
 present on all VT-d capable platforms

On Thu, 10 Jul 2008 19:53:26 -0400 Yong Wang <yong.y.wang@...ux.intel.com> wrote:

> On Thu, Jul 10, 2008 at 01:01:49AM -0700, Andrew Morton wrote:
> > On Tue, 1 Jul 2008 05:13:54 -0400 Yong Wang <yong.y.wang@...ux.intel.com> wrote:
> > 
> > > RMRRs do not necessarily have to be present on all VT-d capable platforms.
> > > The printk is just informational and does not need to be followed by an
> > > error return.
> > > 
> > > Signed-off-by: Yong Y Wang <yong.y.wang@...el.com>
> > > ---
> > >  dmar.c |    4 +---
> > >  1 file changed, 1 insertion(+), 3 deletions(-)
> > > 
> > > diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
> > > index f941f60..8bf86ae 100644
> > > --- a/drivers/pci/dmar.c
> > > +++ b/drivers/pci/dmar.c
> > > @@ -317,10 +317,8 @@ int __init dmar_table_init(void)
> > >  		return -ENODEV;
> > >  	}
> > >  
> > > -	if (list_empty(&dmar_rmrr_units)) {
> > > +	if (list_empty(&dmar_rmrr_units))
> > >  		printk(KERN_INFO PREFIX "No RMRR found\n");
> > > -		return -ENODEV;
> > > -	}
> > >  
> > >  	return 0;
> > >  }
> > 
> > >From your description I am unable to work out how important this fix is.
> > 
> > Is it needed in 2.6.25.x?  In 2.6.26?  In 2.6.27?  There's no way for me to
> > know :(
> 
> Actually this is the same as Suresh' x2apic patch 05/26. The absence of RMRRs
> will prevent kernel from parsing IOxAPICs without this patch and thus leaves
> IOxAPICs in an uninitialized state.

And what runtime effect does that have?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ