Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1189826 > unrolled thread
| Started by | Matt Fleming <matt@codeblueprint.co.uk> |
|---|---|
| First post | 2015-07-22 13:20 +0200 |
| Last post | 2015-07-22 19:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH V6 1/4] efi: x86: rearrange efi_mem_attributes() Matt Fleming <matt@codeblueprint.co.uk> - 2015-07-22 13:20 +0200
Re: [PATCH V6 1/4] efi: x86: rearrange efi_mem_attributes() "Zhang, Jonathan Zhixiong" <zjzhang@codeaurora.org> - 2015-07-22 19:30 +0200
| From | Matt Fleming <matt@codeblueprint.co.uk> |
|---|---|
| Date | 2015-07-22 13:20 +0200 |
| Subject | Re: [PATCH V6 1/4] efi: x86: rearrange efi_mem_attributes() |
| Message-ID | <pP0e5-5cC-1@gated-at.bofh.it> |
On Mon, 20 Jul, at 05:32:36PM, Jonathan (Zhixiong) Zhang wrote: > From: "Jonathan (Zhixiong) Zhang" <zjzhang@codeaurora.org> > > x86 and ia64 implement efi_mem_attributes() differently. This > function needs to be available for other arch (such as arm64) > as well, such as for the purpose of ACPI/APEI. > > ia64 efi does not setup memmap variable and does not set > EFI_MEMMAP flag, so it needs to have its unique implementation > of efi_mem_attributes(). > > Move efi_mem_attributes() implementation from x86 to efi, and > declare it with __weak. It is recommended that other archs > should not override the default implementation. > > Signed-off-by: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org> > --- > arch/x86/platform/efi/efi.c | 18 ------------------ > drivers/firmware/efi/efi.c | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 31 insertions(+), 18 deletions(-) Reviewed-by: Matt Fleming <matt.fleming@intel.com> -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | "Zhang, Jonathan Zhixiong" <zjzhang@codeaurora.org> |
|---|---|
| Date | 2015-07-22 19:30 +0200 |
| Message-ID | <pP60d-6bF-65@gated-at.bofh.it> |
| In reply to | #1189826 |
Appreciate Matt for your ack. On 7/22/2015 4:11 AM, Matt Fleming wrote: > On Mon, 20 Jul, at 05:32:36PM, Jonathan (Zhixiong) Zhang wrote: >> From: "Jonathan (Zhixiong) Zhang" <zjzhang@codeaurora.org> >> >> x86 and ia64 implement efi_mem_attributes() differently. This >> function needs to be available for other arch (such as arm64) >> as well, such as for the purpose of ACPI/APEI. >> >> ia64 efi does not setup memmap variable and does not set >> EFI_MEMMAP flag, so it needs to have its unique implementation >> of efi_mem_attributes(). >> >> Move efi_mem_attributes() implementation from x86 to efi, and >> declare it with __weak. It is recommended that other archs >> should not override the default implementation. >> >> Signed-off-by: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org> >> --- >> arch/x86/platform/efi/efi.c | 18 ------------------ >> drivers/firmware/efi/efi.c | 31 +++++++++++++++++++++++++++++++ >> 2 files changed, 31 insertions(+), 18 deletions(-) > > Reviewed-by: Matt Fleming <matt.fleming@intel.com> > -- Jonathan (Zhixiong) Zhang The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web