linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: zhengqiang10@huawei.com (Zhengqiang)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC/RFT PATCH 0/6] Switch GHES ioremap_page_range() to use fixmap
Date: Thu, 9 Nov 2017 20:22:53 +0800	[thread overview]
Message-ID: <5A04489D.2040201@huawei.com> (raw)
In-Reply-To: <20171031153832.17746-1-james.morse@arm.com>



On 2017/10/31 23:38, James Morse wrote:
> GHES is doing ioremap_page_range() in both NMI and irq context, neither
> are safe as it may sleep to allocate intermediate levels of page table.
> 
> Replace the NMI/irq GHES_IOREMAP_PAGES to use a fixmap entry each.
> 
> After this nothing uses ghes_ioremap_area or arch_apei_flush_tlb_one(),
> rip them out.
> 
> RFC as I've only build-tested this on x86. For arm64 I've tested it on a
> software model. Any more testing would be welcome. These patches are based
> on rc7.
> 


Tested-by:  Qiang Zheng <zhengqiang10@huawei.com>

Verified on our arm64, it work for me. Thanks.

Qiang

      parent reply	other threads:[~2017-11-09 12:22 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31 15:38 [RFC/RFT PATCH 0/6] Switch GHES ioremap_page_range() to use fixmap James Morse
2017-10-31 15:38 ` [RFC/RFT PATCH 1/6] arm64: fixmap: Add GHES fixmap entries James Morse
2017-10-31 15:38 ` [RFC/RFT PATCH 2/6] x86/mm/fixmap: " James Morse
2017-10-31 19:04   ` Ingo Molnar
2017-10-31 19:09   ` Borislav Petkov
2017-10-31 15:38 ` [RFC/RFT PATCH 3/6] ACPI / APEI: Replace ioremap_page_range() with fixmap James Morse
2017-11-01  4:13   ` gengdongjiu
2017-11-01 14:57     ` James Morse
2017-11-02 12:01       ` gengdongjiu
2017-11-06 18:41         ` James Morse
2017-11-01 13:34   ` Borislav Petkov
2017-10-31 15:38 ` [RFC/RFT PATCH 4/6] ACPI / APEI: Remove ghes_ioremap_area James Morse
2017-11-01 13:47   ` Borislav Petkov
2017-10-31 15:38 ` [RFC/RFT PATCH 5/6] arm64: mm: Remove arch_apei_flush_tlb_one() James Morse
2017-10-31 15:38 ` [RFC/RFT PATCH 6/6] ACPI / APEI: " James Morse
2017-11-01 13:50   ` Borislav Petkov
2017-10-31 15:52 ` [RFC/RFT PATCH 0/6] Switch GHES ioremap_page_range() to use fixmap Linus Torvalds
2017-10-31 16:05   ` Linus Torvalds
2017-11-01 14:58   ` James Morse
2017-10-31 18:46 ` Tyler Baicar
2017-11-01 14:58 ` James Morse
2017-11-01 15:30   ` Borislav Petkov
2017-11-01 18:20     ` Kani, Toshimitsu
2017-11-06 18:43       ` James Morse
2017-11-02 10:19 ` Will Deacon
2017-11-09 12:22 ` Zhengqiang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A04489D.2040201@huawei.com \
    --to=zhengqiang10@huawei.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).