[PATCH] update NFIT flags error message

2019-02-28 Thread Toshi Kani
ACPI NFIT flags field reports major errors on NVDIMM, which need user's attention. Update the current log to a proper error message with dev_err(). The current message string is kept for grep-compatibility. Signed-off-by: Toshi Kani Cc: Dan Williams Cc: "Rafael J. Wysocki" Cc: Robe

[tip:x86/mm] x86/mm: Add TLB purge to free pmd/pte page interfaces

2018-07-04 Thread tip-bot for Toshi Kani
Commit-ID: 5e0fb5df2ee871b841f96f9cb6a7f2784e96aa4e Gitweb: https://git.kernel.org/tip/5e0fb5df2ee871b841f96f9cb6a7f2784e96aa4e Author: Toshi Kani AuthorDate: Wed, 27 Jun 2018 08:13:48 -0600 Committer: Thomas Gleixner CommitDate: Wed, 4 Jul 2018 21:37:09 +0200 x86/mm: Add TLB purge

[tip:x86/mm] x86/mm: Add TLB purge to free pmd/pte page interfaces

2018-07-04 Thread tip-bot for Toshi Kani
Commit-ID: 5e0fb5df2ee871b841f96f9cb6a7f2784e96aa4e Gitweb: https://git.kernel.org/tip/5e0fb5df2ee871b841f96f9cb6a7f2784e96aa4e Author: Toshi Kani AuthorDate: Wed, 27 Jun 2018 08:13:48 -0600 Committer: Thomas Gleixner CommitDate: Wed, 4 Jul 2018 21:37:09 +0200 x86/mm: Add TLB purge

[tip:x86/mm] x86/mm: Disable ioremap free page handling on x86-PAE

2018-07-04 Thread tip-bot for Toshi Kani
Commit-ID: f967db0b9ed44ec3057a28f3b28efc51df51b835 Gitweb: https://git.kernel.org/tip/f967db0b9ed44ec3057a28f3b28efc51df51b835 Author: Toshi Kani AuthorDate: Wed, 27 Jun 2018 08:13:46 -0600 Committer: Thomas Gleixner CommitDate: Wed, 4 Jul 2018 21:37:08 +0200 x86/mm: Disable ioremap

[tip:x86/mm] x86/mm: Disable ioremap free page handling on x86-PAE

2018-07-04 Thread tip-bot for Toshi Kani
Commit-ID: f967db0b9ed44ec3057a28f3b28efc51df51b835 Gitweb: https://git.kernel.org/tip/f967db0b9ed44ec3057a28f3b28efc51df51b835 Author: Toshi Kani AuthorDate: Wed, 27 Jun 2018 08:13:46 -0600 Committer: Thomas Gleixner CommitDate: Wed, 4 Jul 2018 21:37:08 +0200 x86/mm: Disable ioremap

[PATCH v4 0/3] fix free pmd/pte page handlings on x86

2018-06-27 Thread Toshi Kani
alloc in patch 03. --- Toshi Kani (2): 1/3 x86/mm: disable ioremap free page handling on x86-PAE 3/3 x86/mm: add TLB purge to free pmd/pte page interfaces Chintan Pandya (1): 2/3 ioremap: Update pgtable free interfaces with addr --- arch/arm64/mm/mmu.c | 4 +-- arch/x86/mm

[PATCH v4 0/3] fix free pmd/pte page handlings on x86

2018-06-27 Thread Toshi Kani
alloc in patch 03. --- Toshi Kani (2): 1/3 x86/mm: disable ioremap free page handling on x86-PAE 3/3 x86/mm: add TLB purge to free pmd/pte page interfaces Chintan Pandya (1): 2/3 ioremap: Update pgtable free interfaces with addr --- arch/arm64/mm/mmu.c | 4 +-- arch/x86/mm

[PATCH v4 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-06-27 Thread Toshi Kani
) Reported-by: Joerg Roedel Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --- arch/x86/mm/pgtable.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/mm/

[PATCH v4 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-06-27 Thread Toshi Kani
) Reported-by: Joerg Roedel Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --- arch/x86/mm/pgtable.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/mm/

[PATCH v4 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-06-27 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --

[PATCH v4 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-06-27 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --

[PATCH v4 2/3] ioremap: Update pgtable free interfaces with addr

2018-06-27 Thread Toshi Kani
lement free pmd/pte page interfaces") Signed-off-by: Chintan Pandya Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Will Deacon Cc: Joerg Roedel Cc: --- arch/arm64/mm/mmu.c |4 ++-- arch/x

[PATCH v4 2/3] ioremap: Update pgtable free interfaces with addr

2018-06-27 Thread Toshi Kani
lement free pmd/pte page interfaces") Signed-off-by: Chintan Pandya Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Will Deacon Cc: Joerg Roedel Cc: --- arch/arm64/mm/mmu.c |4 ++-- arch/x

[PATCH v3-UPADATE 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-17 Thread Toshi Kani
0fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Chintan Pandya <cpan...@codeaurora.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Michal Hocko <mho...@suse.com> Cc: Thomas Gleixner <t...

[PATCH v3-UPADATE 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-17 Thread Toshi Kani
nt free pmd/pte page interfaces") Signed-off-by: Chintan Pandya Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Will Deacon Cc: Joerg Roedel Cc: --- v3-UPDATE - Rewrite patch description --- arch/a

[PATCH v3 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-16 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Michal Hocko <mho...@suse.com> Cc: Thomas Gleixn

[PATCH v3 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-16 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --

[PATCH v3 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-05-16 Thread Toshi Kani
) Reported-by: Joerg Roedel <j...@8bytes.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Michal Hocko <mho...@suse.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H

[PATCH v3 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-05-16 Thread Toshi Kani
) Reported-by: Joerg Roedel Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --- arch/x86/mm/pgtable.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/mm/

[PATCH v3 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-16 Thread Toshi Kani
d/pte page interfaces") Signed-off-by: Chintan Pandya <cpan...@codeaurora.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: <sta...@vger.kernel.org> --- arch/arm64/mm/mmu.c |4 ++-- arch/x86/mm/pgtable.c | 12 +++- include/asm-gene

[PATCH v3 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-16 Thread Toshi Kani
gned-off-by: Chintan Pandya Signed-off-by: Toshi Kani Cc: --- arch/arm64/mm/mmu.c |4 ++-- arch/x86/mm/pgtable.c | 12 +++- include/asm-generic/pgtable.h |8 lib/ioremap.c |4 ++-- 4 files changed, 15 insertions(+), 13 deletions(-

[PATCH v3 0/3] fix free pmd/pte page handlings on x86

2018-05-16 Thread Toshi Kani
/10371015/ v3: - Fixed a build error in v2. v2: - Reordered patch-set, so that patch 01 can be applied independently. - Added a NULL pointer check for the page alloc in patch 03. --- Toshi Kani (2): 1/3 x86/mm: disable ioremap free page handling on x86-PAE 3/3 x86/mm: add TLB purge to free

[PATCH v3 0/3] fix free pmd/pte page handlings on x86

2018-05-16 Thread Toshi Kani
/10371015/ v3: - Fixed a build error in v2. v2: - Reordered patch-set, so that patch 01 can be applied independently. - Added a NULL pointer check for the page alloc in patch 03. --- Toshi Kani (2): 1/3 x86/mm: disable ioremap free page handling on x86-PAE 3/3 x86/mm: add TLB purge to free

[PATCH v2 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-15 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Michal Hocko <mho...@suse.com> Cc: Thomas Gleixn

[PATCH v2 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-05-15 Thread Toshi Kani
) Reported-by: Joerg Roedel <j...@8bytes.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Michal Hocko <mho...@suse.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H

[PATCH v2 0/3] fix free pmd/pte page handlings on x86

2018-05-15 Thread Toshi Kani
://patchwork.kernel.org/patch/10371015/ v2: - Reordered patch-set, so that patch 01 can be applied independently. - Added a NULL pointer check for the page alloc in patch 03. --- Toshi Kani (2): 1/3 x86/mm: disable ioremap free page handling on x86-PAE 3/3 x86/mm: add TLB purge to free pmd/pte page

[PATCH v2 0/3] fix free pmd/pte page handlings on x86

2018-05-15 Thread Toshi Kani
://patchwork.kernel.org/patch/10371015/ v2: - Reordered patch-set, so that patch 01 can be applied independently. - Added a NULL pointer check for the page alloc in patch 03. --- Toshi Kani (2): 1/3 x86/mm: disable ioremap free page handling on x86-PAE 3/3 x86/mm: add TLB purge to free pmd/pte page

[PATCH v2 3/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-05-15 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --

[PATCH v2 1/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-05-15 Thread Toshi Kani
) Reported-by: Joerg Roedel Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --- arch/x86/mm/pgtable.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/mm/

[PATCH v2 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-15 Thread Toshi Kani
ned-off-by: Chintan Pandya <cpan...@codeaurora.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: <sta...@vger.kernel.org> --- arch/arm64/mm/mmu.c |4 ++-- arch/x86/mm/pgtable.c |8 +--- include/asm-generic/pgtable.h |8 lib/io

[PATCH v2 2/3] ioremap: Update pgtable free interfaces with addr

2018-05-15 Thread Toshi Kani
ance after updating pagetable entry even in map. Why ? Read this, https://patchwork.kernel.org/patch/10134581/ Pass 'addr' in these interfaces so that proper TLB ops can be performed. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Chintan Pandya

[PATCH] ghes_edac: add DDR4 and NVDIMM memory types

2018-05-09 Thread Toshi Kani
The ghes_edac driver obtains memory type from SMBIOS type 17, but it does not recognize DDR4 and NVDIMM types. Add support of DDR4 and NVDIMM types. NVDIMM type is set when memory type is DDR3/4 and non-volatile. Reported-by: Robert Elliott <elli...@hpe.com> Signed-off-by: Toshi Kani &l

[PATCH] ghes_edac: add DDR4 and NVDIMM memory types

2018-05-09 Thread Toshi Kani
The ghes_edac driver obtains memory type from SMBIOS type 17, but it does not recognize DDR4 and NVDIMM types. Add support of DDR4 and NVDIMM types. NVDIMM type is set when memory type is DDR3/4 and non-volatile. Reported-by: Robert Elliott Signed-off-by: Toshi Kani Cc: Borislav Petkov Cc

[PATCH 2/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-04-30 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Michal Hocko <mho...@suse.com> Cc: Thomas Gleixn

[PATCH 2/3] x86/mm: add TLB purge to free pmd/pte page interfaces

2018-04-30 Thread Toshi Kani
PCID regardless of the liner addresses to which they correspond. Fixes: 28ee90fe6048 ("x86/mm: implement free pmd/pte page interfaces") Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --

[PATCH 0/3] fix free pmd/pte page handlings on x86

2018-04-30 Thread Toshi Kani
by speculation. See patch 2/2 for the detals. Patch 03 disables free page handling on x86-PAE to address BUG_ON reported by Joerg. [1] https://patchwork.kernel.org/patch/10371015/ --- Chintan Pandya (1): 1/3 ioremap: Update pgtable free interfaces with addr Toshi Kani (2): 2/3 x86/mm: add TLB purge

[PATCH 0/3] fix free pmd/pte page handlings on x86

2018-04-30 Thread Toshi Kani
by speculation. See patch 2/2 for the detals. Patch 03 disables free page handling on x86-PAE to address BUG_ON reported by Joerg. [1] https://patchwork.kernel.org/patch/10371015/ --- Chintan Pandya (1): 1/3 ioremap: Update pgtable free interfaces with addr Toshi Kani (2): 2/3 x86/mm: add TLB purge

[PATCH 1/3] ioremap: Update pgtable free interfaces with addr

2018-04-30 Thread Toshi Kani
t;) Signed-off-by: Chintan Pandya <cpan...@codeaurora.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: <sta...@vger.kernel.org> --- arch/arm64/mm/mmu.c |4 ++-- arch/x86/mm/pgtable.c |8 +--- include/asm-generic/pgtable.h |8

[PATCH 3/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-04-30 Thread Toshi Kani
) Reported-by: Joerg Roedel <j...@8bytes.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Michal Hocko <mho...@suse.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H

[PATCH 1/3] ioremap: Update pgtable free interfaces with addr

2018-04-30 Thread Toshi Kani
n Pandya Signed-off-by: Toshi Kani Cc: --- arch/arm64/mm/mmu.c |4 ++-- arch/x86/mm/pgtable.c |8 +--- include/asm-generic/pgtable.h |8 lib/ioremap.c |4 ++-- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/arch/arm64/m

[PATCH 3/3] x86/mm: disable ioremap free page handling on x86-PAE

2018-04-30 Thread Toshi Kani
) Reported-by: Joerg Roedel Signed-off-by: Toshi Kani Cc: Andrew Morton Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Joerg Roedel Cc: --- arch/x86/mm/pgtable.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/mm/

[PATCH] pmem: fix badblocks population for raw mode

2018-04-25 Thread Toshi Kani
rface to use struct dev_pagemap") Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Christoph Hellwig <h...@lst.de> Cc: Dan Williams <dan.j.willi...@intel.com> Cc: <sta...@vger.kernel.org> --- drivers/nvdimm/pmem.c |4 +++- 1 file changed, 3 insertions(+), 1 deleti

[PATCH] pmem: fix badblocks population for raw mode

2018-04-25 Thread Toshi Kani
rface to use struct dev_pagemap") Signed-off-by: Toshi Kani Cc: Christoph Hellwig Cc: Dan Williams Cc: --- drivers/nvdimm/pmem.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c index 9d714926ecf5..2d7875209bce 100644 ---

[tip:x86/mm] x86/mm: Remove pointless checks in vmalloc_fault

2018-03-15 Thread tip-bot for Toshi Kani
Commit-ID: 565977a3d929fc4427769117a8ac976ec16776d5 Gitweb: https://git.kernel.org/tip/565977a3d929fc4427769117a8ac976ec16776d5 Author: Toshi Kani <toshi.k...@hpe.com> AuthorDate: Wed, 14 Mar 2018 14:59:32 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Thu,

[tip:x86/mm] x86/mm: Remove pointless checks in vmalloc_fault

2018-03-15 Thread tip-bot for Toshi Kani
Commit-ID: 565977a3d929fc4427769117a8ac976ec16776d5 Gitweb: https://git.kernel.org/tip/565977a3d929fc4427769117a8ac976ec16776d5 Author: Toshi Kani AuthorDate: Wed, 14 Mar 2018 14:59:32 -0600 Committer: Thomas Gleixner CommitDate: Thu, 15 Mar 2018 15:27:47 +0100 x86/mm: Remove

[PATCH] x86/mm: remove pointless checks in vmalloc_fault

2018-03-14 Thread Toshi Kani
rename the kernel pgd/p4d pointers to pgd_k/p4d_k so that their names are consistent in the file. Suggested-by: Andy Lutomirski <l...@kernel.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com>

[PATCH] x86/mm: remove pointless checks in vmalloc_fault

2018-03-14 Thread Toshi Kani
rename the kernel pgd/p4d pointers to pgd_k/p4d_k so that their names are consistent in the file. Suggested-by: Andy Lutomirski Signed-off-by: Toshi Kani Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Borislav Petkov Cc: Andy Lutomirski Cc: Gratian Crisan --- Rebased

[tip:x86/urgent] x86/mm: Fix vmalloc_fault to use pXd_large

2018-03-14 Thread tip-bot for Toshi Kani
Commit-ID: 18a955219bf7d9008ce480d4451b6b8bf4483a22 Gitweb: https://git.kernel.org/tip/18a955219bf7d9008ce480d4451b6b8bf4483a22 Author: Toshi Kani <toshi.k...@hpe.com> AuthorDate: Tue, 13 Mar 2018 11:03:46 -0600 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Wed,

[tip:x86/urgent] x86/mm: Fix vmalloc_fault to use pXd_large

2018-03-14 Thread tip-bot for Toshi Kani
Commit-ID: 18a955219bf7d9008ce480d4451b6b8bf4483a22 Gitweb: https://git.kernel.org/tip/18a955219bf7d9008ce480d4451b6b8bf4483a22 Author: Toshi Kani AuthorDate: Tue, 13 Mar 2018 11:03:46 -0600 Committer: Thomas Gleixner CommitDate: Wed, 14 Mar 2018 20:22:42 +0100 x86/mm: Fix

[PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-03-14 Thread Toshi Kani
t;) Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Michal Hocko <mho...@suse.com> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H. Peter Anvin" <h...@zytor.com> C

[PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-03-14 Thread Toshi Kani
t;) Signed-off-by: Toshi Kani Cc: Michal Hocko Cc: Andrew Morton Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Borislav Petkov Cc: Matthew Wilcox Cc: --- arch/x86/mm/pgtable.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff

[PATCH v2 1/2] mm/vmalloc: Add interfaces to free unmapped page table

2018-03-14 Thread Toshi Kani
and arm64, which work as workaround. Reported-by: Lei Li <lious.li...@hisilicon.com> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Catalin Marinas <catalin.mari...@arm.com> Cc: Wang Xuefeng <wxf.w...@hisilicon.com> Cc: Will Deacon <will.dea...@arm.com> Cc: Hanjun

[PATCH v2 1/2] mm/vmalloc: Add interfaces to free unmapped page table

2018-03-14 Thread Toshi Kani
and arm64, which work as workaround. Reported-by: Lei Li Signed-off-by: Toshi Kani Cc: Catalin Marinas Cc: Wang Xuefeng Cc: Will Deacon Cc: Hanjun Guo Cc: Michal Hocko Cc: Andrew Morton Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Borislav Petkov Cc: Matthew

[PATCH v2 0/2] fix memory leak / panic in ioremap huge pages

2018-03-14 Thread Toshi Kani
the interfaces. A separate patch (not included in this series) is necessary for arm64. [1] https://patchwork.kernel.org/patch/10134581/ --- v2 - Added cc to stable (Andrew Morton) - Added proper function headers (Matthew Wilcox) - Added descriptions why fixing in the ioremap path. (Will Deacon) --- Toshi

[PATCH v2 0/2] fix memory leak / panic in ioremap huge pages

2018-03-14 Thread Toshi Kani
the interfaces. A separate patch (not included in this series) is necessary for arm64. [1] https://patchwork.kernel.org/patch/10134581/ --- v2 - Added cc to stable (Andrew Morton) - Added proper function headers (Matthew Wilcox) - Added descriptions why fixing in the ioremap path. (Will Deacon) --- Toshi

[PATCH 2/2] x86/mm: remove pointless checks in vmalloc_fault

2018-03-13 Thread Toshi Kani
rename the kernel pgd/p4d pointers to pgd_k/p4d_k so that their names are consistent in the file. Suggested-by: Andy Lutomirski <l...@kernel.org> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com>

[PATCH 2/2] x86/mm: remove pointless checks in vmalloc_fault

2018-03-13 Thread Toshi Kani
rename the kernel pgd/p4d pointers to pgd_k/p4d_k so that their names are consistent in the file. Suggested-by: Andy Lutomirski Signed-off-by: Toshi Kani Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Borislav Petkov Cc: Andy Lutomirski Cc: Gratian Crisan --- a

[PATCH 0/2] x86/mm: vmalloc_fault fix for CONFIG_HUGETLBFS off

2018-03-13 Thread Toshi Kani
for vmalloc_fault(). [1] https://lkml.org/lkml/2018/3/8/1281 --- Toshi Kani (2): 1/2 x86/mm: fix vmalloc_fault to use pXd_large 2/2 x86/mm: remove pointless checks in vmalloc_fault --- arch/x86/mm/fault.c | 62 + 1 file changed, 20 insertions

[PATCH 1/2] x86/mm: fix vmalloc_fault to use pXd_large

2018-03-13 Thread Toshi Kani
t;x86/mm: Fix vmalloc_fault() to handle large pages properly") Reported-by: Gratian Crisan <gratian.cri...@ni.com> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H. Peter Anvin&q

[PATCH 0/2] x86/mm: vmalloc_fault fix for CONFIG_HUGETLBFS off

2018-03-13 Thread Toshi Kani
for vmalloc_fault(). [1] https://lkml.org/lkml/2018/3/8/1281 --- Toshi Kani (2): 1/2 x86/mm: fix vmalloc_fault to use pXd_large 2/2 x86/mm: remove pointless checks in vmalloc_fault --- arch/x86/mm/fault.c | 62 + 1 file changed, 20 insertions

[PATCH 1/2] x86/mm: fix vmalloc_fault to use pXd_large

2018-03-13 Thread Toshi Kani
t;x86/mm: Fix vmalloc_fault() to handle large pages properly") Reported-by: Gratian Crisan Signed-off-by: Toshi Kani Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Borislav Petkov Cc: Andy Lutomirski Cc: Gratian Crisan Cc: sta...@vger.kernel.org --- arch/x

[PATCH 2/2] x86/mm: implement free pmd/pte page interfaces

2018-03-07 Thread Toshi Kani
Implement pud_free_pmd_page() and pmd_free_pte_page() on x86, which clear a given pud/pmd entry and free up lower level page table(s). Address range associated with the pud/pmd entry must have been purged by INVLPG. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Michal Hocko <mho...

[PATCH 2/2] x86/mm: implement free pmd/pte page interfaces

2018-03-07 Thread Toshi Kani
Implement pud_free_pmd_page() and pmd_free_pte_page() on x86, which clear a given pud/pmd entry and free up lower level page table(s). Address range associated with the pud/pmd entry must have been purged by INVLPG. Signed-off-by: Toshi Kani Cc: Michal Hocko Cc: Andrew Morton Cc: Thomas

[PATCH 1/2] mm/vmalloc: Add interfaces to free unused page table

2018-03-07 Thread Toshi Kani
as workaround. Reported-by: Lei Li <lious.li...@hisilicon.com> Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Catalin Marinas <catalin.mari...@arm.com> Cc: Wang Xuefeng <wxf.w...@hisilicon.com> Cc: Will Deacon <will.dea...@arm.com> Cc: Hanjun Guo <guohan...@

[PATCH 1/2] mm/vmalloc: Add interfaces to free unused page table

2018-03-07 Thread Toshi Kani
as workaround. Reported-by: Lei Li Signed-off-by: Toshi Kani Cc: Catalin Marinas Cc: Wang Xuefeng Cc: Will Deacon Cc: Hanjun Guo Cc: Michal Hocko Cc: Andrew Morton Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Borislav Petkov --- arch/arm64/mm/mmu.c

[PATCH 0/2] fix memory leak / panic in ioremap huge pages

2018-03-07 Thread Toshi Kani
://patchwork.kernel.org/patch/10134581/ --- Toshi Kani (2): 1/2 mm/vmalloc: Add interfaces to free unused page table 2/2 x86/mm: implement free pmd/pte page interfaces --- arch/arm64/mm/mmu.c | 10 ++ arch/x86/mm/pgtable.c | 44 +++ include

[PATCH 0/2] fix memory leak / panic in ioremap huge pages

2018-03-07 Thread Toshi Kani
://patchwork.kernel.org/patch/10134581/ --- Toshi Kani (2): 1/2 mm/vmalloc: Add interfaces to free unused page table 2/2 x86/mm: implement free pmd/pte page interfaces --- arch/arm64/mm/mmu.c | 10 ++ arch/x86/mm/pgtable.c | 44 +++ include

[PATCH 0/2] update label size handlings per UEFI 2.7

2018-02-23 Thread Toshi Kani
This patchset updates label storage size check and index block size calculation according to UEFI 2.7 spec. --- Toshi Kani (2): 1/2 libnvdimm, label: change min label storage size per UEFI 2.7 2/2 libnvdimm, label: change nvdimm_num_label_slots per UEFI 2.7 --- drivers/nvdimm/label.c | 34

[PATCH 0/2] update label size handlings per UEFI 2.7

2018-02-23 Thread Toshi Kani
This patchset updates label storage size check and index block size calculation according to UEFI 2.7 spec. --- Toshi Kani (2): 1/2 libnvdimm, label: change min label storage size per UEFI 2.7 2/2 libnvdimm, label: change nvdimm_num_label_slots per UEFI 2.7 --- drivers/nvdimm/label.c | 34

[PATCH 1/2] libnvdimm, label: change min label storage size per UEFI 2.7

2018-02-23 Thread Toshi Kani
ND_LABEL_MIN_SIZE to (256 * 4) so that NVDIMM devices with the minimum label storage area do not fail with the size check in nvdimm_init_config_data(). Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Dan Williams <dan.j.willi...@intel.com> --- drivers/nvdimm/label.h |2 +- 1 file changed,

[PATCH 1/2] libnvdimm, label: change min label storage size per UEFI 2.7

2018-02-23 Thread Toshi Kani
ND_LABEL_MIN_SIZE to (256 * 4) so that NVDIMM devices with the minimum label storage area do not fail with the size check in nvdimm_init_config_data(). Signed-off-by: Toshi Kani Cc: Dan Williams --- drivers/nvdimm/label.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvdimm

[PATCH 2/2] libnvdimm, label: change nvdimm_num_label_slots per UEFI 2.7

2018-02-23 Thread Toshi Kani
-by: Toshi Kani <toshi.k...@hpe.com> Cc: Dan Williams <dan.j.willi...@intel.com> --- drivers/nvdimm/label.c | 34 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c index de66c02f6140..

[PATCH 2/2] libnvdimm, label: change nvdimm_num_label_slots per UEFI 2.7

2018-02-23 Thread Toshi Kani
-by: Toshi Kani Cc: Dan Williams --- drivers/nvdimm/label.c | 34 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/drivers/nvdimm/label.c b/drivers/nvdimm/label.c index de66c02f6140..be3ccf7c5413 100644 --- a/drivers/nvdimm/label.c +++ b/drivers

[PATCH] acpi, nfit: fix register dimm error handling

2018-02-02 Thread Toshi Kani
ed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Dan Williams <dan.j.willi...@intel.com> Cc: "Rafael J. Wysocki" <r...@rjwysocki.net> --- drivers/acpi/nfit/core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index

[PATCH] acpi, nfit: fix register dimm error handling

2018-02-02 Thread Toshi Kani
ed-off-by: Toshi Kani Cc: Dan Williams Cc: "Rafael J. Wysocki" --- drivers/acpi/nfit/core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index abeb4df4f22e..b28ce440a06f 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/

[PATCH v5 3/5] ghes_edac: add platform check to enable ghes_edac

2017-08-31 Thread Toshi Kani
les/538438/ Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@alien8.de> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Tony Luck <tony.l...@intel.com> --- v5 - Remove prefix from 'force_load' - Update comment of force_load option --

[PATCH v5 3/5] ghes_edac: add platform check to enable ghes_edac

2017-08-31 Thread Toshi Kani
les/538438/ Signed-off-by: Toshi Kani Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: Tony Luck --- v5 - Remove prefix from 'force_load' - Update comment of force_load option --- drivers/edac/ghes_edac.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-)

[PATCH v4 1/5] ACPI / blacklist: add acpi_match_platform_list()

2017-08-23 Thread Toshi Kani
check in acpi_blacklisted() to a new common utility function, acpi_match_platform_list(), so that other drivers do not have to implement their own version. There is no change in functionality. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: "Rafael J. Wysocki" <r...@rjwysock

[PATCH v4 1/5] ACPI / blacklist: add acpi_match_platform_list()

2017-08-23 Thread Toshi Kani
check in acpi_blacklisted() to a new common utility function, acpi_match_platform_list(), so that other drivers do not have to implement their own version. There is no change in functionality. Signed-off-by: Toshi Kani Cc: "Rafael J. Wysocki" Cc: Borislav Petkov --- drivers/acpi/b

[PATCH v4 2/5] intel_pstate: convert to use acpi_match_platform_list()

2017-08-23 Thread Toshi Kani
Convert to use acpi_match_platform_list() for the platform check. There is no change in functionality. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Acked-by: Srinivas Pandruvada <srinivas.pandruv...@linux.intel.com> Reviewed-by: Borislav Petkov <b...@suse.de> Cc: &quo

[PATCH v4 2/5] intel_pstate: convert to use acpi_match_platform_list()

2017-08-23 Thread Toshi Kani
Convert to use acpi_match_platform_list() for the platform check. There is no change in functionality. Signed-off-by: Toshi Kani Acked-by: Srinivas Pandruvada Reviewed-by: Borislav Petkov Cc: "Rafael J. Wysocki" Cc: Srinivas Pandruvada Cc: Len Brown Cc: Borislav Petkov --- drive

[PATCH v4 4/5] EDAC: add edac_get_owner() to check MC owner

2017-08-23 Thread Toshi Kani
edac_mc_add_mc(). Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Suggested-by: Borislav Petkov <b...@alien8.de> Cc: Borislav Petkov <b...@alien8.de> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Tony Luck <tony.l...@intel.com> --- drivers/edac/edac_mc.c |7 +

[PATCH v4 4/5] EDAC: add edac_get_owner() to check MC owner

2017-08-23 Thread Toshi Kani
edac_mc_add_mc(). Signed-off-by: Toshi Kani Suggested-by: Borislav Petkov Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: Tony Luck --- drivers/edac/edac_mc.c |7 ++- drivers/edac/edac_mc.h |8 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/edac

[PATCH v4 0/5] enable ghes_edac on selected platforms

2017-08-23 Thread Toshi Kani
- Change edac_mc_owner to const char * (patch 4) - Change to call edac_get_owner() at the beginning (patch 5) - Remove ".c" from mod_name (patch 5) v2: - Address review comments (patch 1) - Add OSC APEI check (patch 3) - Avoid multiple dmi_walk (patch 4) - Add EDAC MC owner check (pa

[PATCH v4 0/5] enable ghes_edac on selected platforms

2017-08-23 Thread Toshi Kani
- Change edac_mc_owner to const char * (patch 4) - Change to call edac_get_owner() at the beginning (patch 5) - Remove ".c" from mod_name (patch 5) v2: - Address review comments (patch 1) - Add OSC APEI check (patch 3) - Avoid multiple dmi_walk (patch 4) - Add EDAC MC owner check (pa

[PATCH v4 5/5] edac drivers: add MC owner check in init

2017-08-23 Thread Toshi Kani
, remove ".c" from module names of pnp2_edac, sb_edac, and skx_edac. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Suggested-by: Borislav Petkov <b...@alien8.de> Cc: Borislav Petkov <b...@alien8.de> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Tony Luck <t

[PATCH v4 5/5] edac drivers: add MC owner check in init

2017-08-23 Thread Toshi Kani
, remove ".c" from module names of pnp2_edac, sb_edac, and skx_edac. Signed-off-by: Toshi Kani Suggested-by: Borislav Petkov Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: Tony Luck --- drivers/edac/amd64_edac.c |5 + drivers/edac/pnd2_edac.c |9 - dr

[PATCH v4 3/5] ghes_edac: add platform check to enable ghes_edac

2017-08-23 Thread Toshi Kani
les/538438/ Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@alien8.de> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Tony Luck <tony.l...@intel.com> --- drivers/edac/ghes_edac.c | 29 - 1 file changed, 24 insertions(+), 5

[PATCH v4 3/5] ghes_edac: add platform check to enable ghes_edac

2017-08-23 Thread Toshi Kani
les/538438/ Signed-off-by: Toshi Kani Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: Tony Luck --- drivers/edac/ghes_edac.c | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/drivers/edac/ghes_edac.c b/drivers/edac/ghes_edac.c index 8d904df..0030

[PATCH v3 0/5] enable ghes_edac on selected platforms

2017-08-18 Thread Toshi Kani
OSC APEI check (patch 3) - Avoid multiple dmi_walk (patch 4) - Add EDAC MC owner check (patch 6,7) --- Toshi Kani (5): 1/5 ACPI / blacklist: add acpi_match_platform_list() 2/5 intel_pstate: convert to use acpi_match_platform_list() 3/5 ghes_edac: add platform check to enable ghes_edac 4/5 E

[PATCH v3 0/5] enable ghes_edac on selected platforms

2017-08-18 Thread Toshi Kani
OSC APEI check (patch 3) - Avoid multiple dmi_walk (patch 4) - Add EDAC MC owner check (patch 6,7) --- Toshi Kani (5): 1/5 ACPI / blacklist: add acpi_match_platform_list() 2/5 intel_pstate: convert to use acpi_match_platform_list() 3/5 ghes_edac: add platform check to enable ghes_edac 4/5 E

[PATCH v3 2/5] intel_pstate: convert to use acpi_match_platform_list()

2017-08-18 Thread Toshi Kani
Convert to use acpi_match_platform_list() for the platform check. There is no change in functionality. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: "Rafael J. Wysocki" <r...@rjwysocki.net> Cc: Srinivas Pandruvada <srinivas.pandruv...@linux.intel.com> Cc: Le

[PATCH v3 2/5] intel_pstate: convert to use acpi_match_platform_list()

2017-08-18 Thread Toshi Kani
Convert to use acpi_match_platform_list() for the platform check. There is no change in functionality. Signed-off-by: Toshi Kani Cc: "Rafael J. Wysocki" Cc: Srinivas Pandruvada Cc: Len Brown Cc: Borislav Petkov --- drivers/cpufreq/intel_pstat

[PATCH v3 5/5] edac drivers: add MC owner check in init

2017-08-18 Thread Toshi Kani
, remove ".c" from module names of pnp2_edac, sb_edac, and skx_edac. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Suggested-by: Borislav Petkov <b...@alien8.de> Cc: Borislav Petkov <b...@alien8.de> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Tony Luck <t

[PATCH v3 5/5] edac drivers: add MC owner check in init

2017-08-18 Thread Toshi Kani
, remove ".c" from module names of pnp2_edac, sb_edac, and skx_edac. Signed-off-by: Toshi Kani Suggested-by: Borislav Petkov Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: Tony Luck --- drivers/edac/amd64_edac.c |5 + drivers/edac/pnd2_edac.c |9 - dr

[PATCH v3 3/5] ghes_edac: add platform check to enable ghes_edac

2017-08-18 Thread Toshi Kani
les/538438/ Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: Borislav Petkov <b...@alien8.de> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Tony Luck <tony.l...@intel.com> --- drivers/edac/ghes_edac.c | 28 +++- 1 file changed, 23 insertions(+), 5

[PATCH v3 1/5] ACPI / blacklist: add acpi_match_platform_list()

2017-08-18 Thread Toshi Kani
check in acpi_blacklisted() to a new common utility function, acpi_match_platform_list(), so that other drivers do not have to implement their own version. There is no change in functionality. Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Cc: "Rafael J. Wysocki" <r...@rjwysock

[PATCH v3 3/5] ghes_edac: add platform check to enable ghes_edac

2017-08-18 Thread Toshi Kani
les/538438/ Signed-off-by: Toshi Kani Cc: Borislav Petkov Cc: Mauro Carvalho Chehab Cc: Tony Luck --- drivers/edac/ghes_edac.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/drivers/edac/ghes_edac.c b/drivers/edac/ghes_edac.c index 4e61a62..367e

[PATCH v3 1/5] ACPI / blacklist: add acpi_match_platform_list()

2017-08-18 Thread Toshi Kani
check in acpi_blacklisted() to a new common utility function, acpi_match_platform_list(), so that other drivers do not have to implement their own version. There is no change in functionality. Signed-off-by: Toshi Kani Cc: "Rafael J. Wysocki" Cc: Borislav Petkov --- drivers/acpi/b

[PATCH v3 4/5] EDAC: add edac_get_owner() to check MC owner

2017-08-18 Thread Toshi Kani
edac_mc_add_mc(). Signed-off-by: Toshi Kani <toshi.k...@hpe.com> Suggested-by: Borislav Petkov <b...@alien8.de> Cc: Borislav Petkov <b...@alien8.de> Cc: Mauro Carvalho Chehab <mche...@kernel.org> Cc: Tony Luck <tony.l...@intel.com> --- drivers/edac/edac_mc.c |7 +

  1   2   3   4   5   6   7   8   9   10   >