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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100827144039.GA7438@merkur.ravnborg.org>
Date:	Fri, 27 Aug 2010 16:40:39 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc:	hpa@...or.com, fujita.tomonori@....ntt.co.jp,
	linux-kernel@...r.kernel.org, x86@...nel.org,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iommu_table
	section, and iommu_table_entry structure.

On Fri, Aug 27, 2010 at 10:38:44AM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Aug 26, 2010 at 08:19:13PM +0200, Sam Ravnborg wrote:
> > > diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
> > > index d0bb522..b92e040 100644
> > > --- a/arch/x86/kernel/vmlinux.lds.S
> > > +++ b/arch/x86/kernel/vmlinux.lds.S
> > > @@ -260,6 +260,13 @@ SECTIONS
> > >  		*(.altinstr_replacement)
> > >  	}
> > >  
> > > +	.iommu_table : AT(ADDR(.iommu_table) - LOAD_OFFSET) {
> > > +		__iommu_table = .;
> > > +		*(.iommu_table)
> > > +		. = ALIGN(8);
> > > +		__iommu_table_end = .;
> > > +	}
> > > +
> > 
> > So we have yet another magic section in vmlinux.lds.S
> > A nice comemnt that expalins what this is used for and why
> > it is discardable etc. would be nice.
> > 
> > Lots of magic sections in same file miss this,
> > but thats not an example to follwow.
> 
> Sure. Will provide one and also explain the other sections that I am
> familiar with.

Appreciated - thanks!

	Sam
--
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