[PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-08 Thread Taku Izumi
|ooxx| ZONE_MOVABLE (legend) o: present x: absent v2 -> v3: - change the option name from kernelcore=reliable into kernelcore=mirror - documentation fix so that users can understand nn[KMS] and mirror are exclusive Signed-off-by: Taku Izumi --- Documentation/kernel-par

[PATCH v3 1/2] mm: Calculate zone_start_pfn at zone_spanned_pages_in_node()

2015-12-08 Thread Taku Izumi
Currently each zone's zone_start_pfn is calculated at free_area_init_core(). However zone's range is fixed at the time when invoking zone_spanned_pages_in_node(). This patch changes each zone->zone_start_pfn is calculated at zone_spanned_pages_in_node(). Signed-off-by: Taku I

[PATCH v3 0/2] mm: Introduce kernelcore=mirror option

2015-12-08 Thread Taku Izumi
ages, and vice versa. v1 -> v2: Refine so that the above example case also can be handled properly: v2 -> v3: Change the option name from kernelcore=reliable into kernelcore=mirror and some documentation fix according to Andrew Morton's point Taku Izumi (2):

[PATCH v2 0/2] mm: Introduce kernelcore=reliable option

2015-11-26 Thread Taku Izumi
the above example case also can be handled properly: Taku Izumi (2): mm: Calculate zone_start_pfn at zone_spanned_pages_in_node() mm: Introduce kernelcore=reliable option Documentation/kernel-parameters.txt | 9 ++- mm/page_alloc.c | 140 ++

[PATCH v2 1/2] mm: Calculate zone_start_pfn at zone_spanned_pages_in_node()

2015-11-26 Thread Taku Izumi
Currently each zone's zone_start_pfn is calculated at free_area_init_core(). However zone's range is fixed at the time when invoking zone_spanned_pages_in_node(). This patch changes each zone->zone_start_pfn is calculated at zone_spanned_pages_in_node(). Signed-off-by: Taku I

[PATCH v2 2/2] mm: Introduce kernelcore=reliable option

2015-11-26 Thread Taku Izumi
x| ZONE_MOVABLE (legend) o: present x: absent Signed-off-by: Taku Izumi --- Documentation/kernel-parameters.txt | 9 ++- mm/page_alloc.c | 110 ++-- 2 files changed, 112 insertions(+), 7 deletions(-) diff --git a/Documentation/k

[tip:core/efi] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-28 Thread tip-bot for Taku Izumi
Commit-ID: 78b9bc947b18ed16b6c2c573d774e6d54ad9452d Gitweb: http://git.kernel.org/tip/78b9bc947b18ed16b6c2c573d774e6d54ad9452d Author: Taku Izumi AuthorDate: Fri, 23 Oct 2015 11:48:17 +0200 Committer: Ingo Molnar CommitDate: Wed, 28 Oct 2015 12:28:06 +0100 efi: Fix warning of int-to

[PATCH v2] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-22 Thread Taku Izumi
32-bit environment. This patch changes the type of "new_memmap_phy" variable from "u64" into "ulong" to avoid it. v1 -> v2: - change the type of "new_memmap_phy" from phys_addr_t into ulong according to Ard's comment Reported-by: Ingo Molnar

[PATCH] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-22 Thread Taku Izumi
32-bit environment. This patch changes the type of "new_memmap_phy" variable from "u64" into "phys_addr_t" to avoid it. Reported-by: Ingo Molnar Signed-off-by: Taku Izumi --- drivers/firmware/efi/fake_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH] mm: Introduce kernelcore=reliable option

2015-10-14 Thread Taku Izumi
,2G@0x10a000:0x1,2G@4G:0x1 efi_fake_mem is found at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-next Signed-off-by: Taku Izumi --- Documentation/kernel-parameters.txt | 9 - mm/page_alloc.c | 26 +++

[PATCH][RFC] mm: Introduce kernelcore=reliable option

2015-10-08 Thread Taku Izumi
option and introduces kernelcore=reliable option. By specifying "reliable" instead of specifying the amount of memory, non-reliable region will be arranged into ZONE_MOVABLE. Signed-off-by: Taku Izumi --- Documentation/kernel-parameters.txt | 9 - mm/page_alloc.c

[tip:perf/core] perf/x86/intel/uncore: Fix multi-segment problem of perf_event_intel_uncore

2015-10-06 Thread tip-bot for Taku Izumi
Commit-ID: 712df65ccb63da08a484bf57c40b250dfd4103a7 Gitweb: http://git.kernel.org/tip/712df65ccb63da08a484bf57c40b250dfd4103a7 Author: Taku Izumi AuthorDate: Thu, 24 Sep 2015 21:10:21 +0900 Committer: Ingo Molnar CommitDate: Tue, 6 Oct 2015 17:31:51 +0200 perf/x86/intel/uncore: Fix

[PATCH 2/2] x86, efi: Add "efi_fake_mem" boot option

2015-09-29 Thread Taku Izumi
emory Signed-off-by: Taku Izumi --- Documentation/kernel-parameters.txt | 15 +++ arch/x86/kernel/setup.c | 4 +- drivers/firmware/efi/Kconfig| 22 drivers/firmware/efi/Makefile | 1 + drivers/firmware/efi/fake_mem.c | 238

[PATCH 2/2] x86, efi: Add "efi_fake_mem" boot option

2015-09-29 Thread Taku Izumi
emory Signed-off-by: Taku Izumi --- Documentation/kernel-parameters.txt | 15 +++ arch/x86/kernel/setup.c | 4 +- drivers/firmware/efi/Kconfig| 22 drivers/firmware/efi/Makefile | 1 + drivers/firmware/efi/fake_mem.c | 238

[PATCH 0/2] Introduce "efi_fake_mem" boot option

2015-09-29 Thread Taku Izumi
_MAX_FAKE_MEM - and some fix pointed by Matt Flemming Taku Izumi (2): x86, efi: rename print_efi_memmap() to efi_print_memmap() x86, efi: Add "efi_fake_mem" boot option Documentation/kernel-parameters.txt | 15 +++ arch/x86/include/asm/efi.h | 1 + arch/x86/kernel/se

[PATCH 1/2] x86, efi: rename print_efi_memmap() to efi_print_memmap()

2015-09-29 Thread Taku Izumi
This patch renames print_efi_memmap() to efi_print_memmap() and make it global function so that we can invoke it outside of arch/x86/platform/efi/efi.c Signed-off-by: Taku Izumi --- arch/x86/include/asm/efi.h | 1 + arch/x86/platform/efi/efi.c | 4 ++-- 2 files changed, 3 insertions(+), 2

[PATCH v5][RESEND] perf, x86: Fix multi-segment problem of perf_event_intel_uncore

2015-09-23 Thread Taku Izumi
lock at snbep_pci2phy_map_init() Signed-off-by: Taku Izumi --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 61 -- arch/x86/kernel/cpu/perf_event_intel_uncore.h | 12 - arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c | 16 -- .../x86/kernel/cpu/perf_event_

[PATCH v4] perf, x86: Fix multi-segment problem of perf_event_intel_uncore

2015-09-16 Thread Taku Izumi
oducing segment-aware pci2phy_map instead. v3 -> v4: - avoid GFP_ATOMIC allocation at __find_pci2phy_map() - Add missing pci_dev_put at snb_pci2phy_map_init() - Add missing raw_spin_unlock at snbep_pci2phy_map_init() Signed-off-by: Taku Izumi --- arch/x86/ke

[PATCH v3] perf, x86: Fix multi-segment problem of perf_event_intel_uncore

2015-09-03 Thread Taku Izumi
oducing segment-aware pci2phy_map instead. v2 -> v3: - fix up according to Peter's comment - introduce __find_pci2phy_map() to avert repetition Signed-off-by: Taku Izumi --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 45 -- arch/x86/kernel/cpu/perf_event

[PATCH v2][RESEND] perf, x86: Fix multi-segment problem of perf_event_intel_uncore

2015-08-26 Thread Taku Izumi
oducing segment-aware pci2phy_map instead. v1 -> v2: - Extract method named uncore_pcibus_to_physid to avoid repetetion of retrieving phys_id code Signed-off-by: Taku Izumi --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 25 -- arch/x86/kernel/cpu/perf_event_intel_u

[PATCH v2 1/3] efi: Add EFI_MEMORY_MORE_RELIABLE support to efi_md_typeattr_format()

2015-08-26 Thread Taku Izumi
UEFI spec 2.5 introduces new Memory Attribute Definition named EFI_MEMORY_MORE_RELIABLE. This patch adds this new attribute support to efi_md_typeattr_format(). Signed-off-by: Taku Izumi --- drivers/firmware/efi/efi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH v2 0/3] Introduce "efi_fake_mem_mirror" boot option

2015-08-26 Thread Taku Izumi
breviation of EFI_MEMORY_MORE_RELIABLE from "RELY" to "MR" - add patch (2/3) for changing abbreviation of EFI_MEMORY_RUNTIME - migrate some code from arch/x86/platform/efi/quirks to drivers/firmware/efi/fake_mem.c and create config EFI_FAKE_MEMMAP Taku Izumi (3): efi: Add EF

[PATCH v2 2/3] efi: Change abbreviation of EFI_MEMORY_RUNTIME from "RUN" to "RT"

2015-08-26 Thread Taku Izumi
Now efi_md_typeattr_format() outputs "RUN" if passed EFI memory descriptor has EFI_MEMORY_RUNTIME attribute. But "RT" is preferer because it is shorter and clearer. This patch changes abbreviation of EFI_MEMORY_RUNTIME from "RUN" to "RT". Suggested-by: A

[PATCH v2 3/3] x86, efi: Add "efi_fake_mem_mirror" boot option

2015-08-26 Thread Taku Izumi
ng message is output: efi: Memory: 4096M/131455M mirrored memory Signed-off-by: Taku Izumi --- Documentation/kernel-parameters.txt | 8 ++ arch/x86/include/asm/efi.h | 1 + arch/x86/kernel/setup.c | 4 +- arch/x86/platform/efi/efi.c | 2 +- drivers/

[PATCH 0/2][RFC] Introduce "efi_fake_mem_mirror" boot option

2015-08-20 Thread Taku Izumi
with UEFI spec 2.5 complied firmware. This patchset introduces new boot option named "efi_fake_mem_mirror". By specifying this parameter, you can mark specific memory as mirrored memory. This is useful for debugging of Memory Address Range Mirroring feature. Taku Izumi (2):

[PATCH 1/2] efi: Add EFI_MEMORY_MORE_RELIABLE support to efi_md_typeattr_format()

2015-08-20 Thread Taku Izumi
UEFI spec 2.5 introduces new Memory Attribute Definition named EFI_MEMORY_MORE_RELIABLE. This patch adds this new attribute support to efi_md_typeattr_format(). Signed-off-by: Taku Izumi --- drivers/firmware/efi/efi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH 2/2] x86, efi: Add "efi_fake_mem_mirror" boot option

2015-08-20 Thread Taku Izumi
) And you will find that the following message is output: efi: Memory: 4096M/131455M mirrored memory Signed-off-by: Taku Izumi --- Documentation/kernel-parameters.txt | 8 ++ arch/x86/include/asm/efi.h | 2 + arch/x86/kernel/setup.c | 4 +- arch/x86/platform/efi

[PATCH v2] perf: Fix multi-segment problem of perf_event_intel_uncore

2015-08-04 Thread Taku Izumi
oducing segment-aware pci2phy_map instead. v1->v2: - Extract method named uncore_pcibus_to_physid to avoid repetetion of retrieving phys_id code Signed-off-by: Taku Izumi --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 25 -- arch/x86/kernel/cpu/perf_event_intel_u

[PATCH] perf: Fix multi-segment problem of perf_event_intel_uncore

2015-06-30 Thread Taku Izumi
oducing segment-aware pci2phy_map instead. Signed-off-by: Taku Izumi --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 27 +++--- arch/x86/kernel/cpu/perf_event_intel_uncore.h | 9 - arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c | 23 +++- .../x86/kernel

Re: [PATCH 2/3 v2] Do not use acpi_device to find pci root bridge in _init code.

2012-10-14 Thread Taku Izumi
ce, not depending on acpi_device > struct. How about squashing patch #2 into patch #1 ? The caller and callee should be the same place in my mind. Best regards, Taku Izumi > Signed-off-by: Tang Chen > Signed-off-by: Liu Jiang > --- > drivers/acpi/pci_root.c | 19 ++

Re: [RFC PATCH 2/3] ACPIHP: ACPI system device hotplug slot enumerator

2012-08-02 Thread Taku Izumi
hild devices connecting to it. > + */ > +static enum acpihp_slot_type __init acpihp_enum_get_slot_type(u32 dev_types) > +{ > + BUG_ON(dev_types > 15); > + > + switch (dev_types) { > + case 0: > + /* Generic CONTAINER */ > +

Re: [RFC PATCH 01/14] PCI: add pcie_flags into struct pci_dev to cache PCIe capabilities register

2012-07-11 Thread Taku Izumi
> struct pci_driver *driver; /* which driver has allocated this > device */ > u64 dma_mask; /* Mask of the bits of bus address this > -- > 1.7.9.5 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" in &g

Re: performance-improvement-of-serial-console-via-virtual.patch added to -mm tree

2005-09-08 Thread Taku Izumi
FIFO at serial8250_console_write function like transmit_chars function. Where should I correct in order to use FIFO? Taku Izumi <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More maj

[Patch] Peformance improvement of serial console via virtual serial port

2005-09-05 Thread Taku Izumi
higher than that of real serial port, this problem is exposed. The output performance via virtual serial port is still low by using original serial driver. I think original serial driver becomes bottoleneck. Taku Izumi <[EMAIL PROTECTED]> --patch