From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752983Ab0HZSTS (ORCPT ); Thu, 26 Aug 2010 14:19:18 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:55264 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752341Ab0HZSTQ (ORCPT ); Thu, 26 Aug 2010 14:19:16 -0400 Date: Thu, 26 Aug 2010 20:19:13 +0200 From: Sam Ravnborg To: Konrad Rzeszutek Wilk Cc: hpa@zytor.com, fujita.tomonori@lab.ntt.co.jp, linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH 01/10] x86/iommu: Add IOMMU_INIT macros, .iommu_table section, and iommu_table_entry structure. Message-ID: <20100826181913.GA5947@merkur.ravnborg.org> References: <1282845485-8991-1-git-send-email-konrad.wilk@oracle.com> <1282845485-8991-2-git-send-email-konrad.wilk@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1282845485-8991-2-git-send-email-konrad.wilk@oracle.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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. Sam