From: Olof Johansson <olof@lixom.net> To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Olof Johansson <olof@lixom.net> Subject: [PATCH v2] riscv: keep 32-bit kernel to 32-bit phys_addr_t Date: Mon, 6 Jan 2020 15:20:24 -0800 [thread overview] Message-ID: <20200106232024.97137-1-olof@lixom.net> (raw) In-Reply-To: <20200106231611.10169-1-olof@lixom.net> While rv32 technically has 34-bit physical addresses, no current platforms use it and it's likely to shake out driver bugs. Let's keep 64-bit phys_addr_t off on 32-bit builds until one shows up, since other work will be needed to make such a system useful anyway. PHYS_ADDR_T_64BIT is def_bool 64BIT, so just remove the select. Signed-off-by: Olof Johansson <olof@lixom.net> --- v2: Just remove the select, since it's set by default if CONFIG_64BIT arch/riscv/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index a31169b02ec06..569fc6deb94d6 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -12,8 +12,6 @@ config 32BIT config RISCV def_bool y - # even on 32-bit, physical (and DMA) addresses are > 32-bits - select PHYS_ADDR_T_64BIT select OF select OF_EARLY_FLATTREE select OF_IRQ -- 2.20.1
WARNING: multiple messages have this Message-ID (diff)
From: Olof Johansson <olof@lixom.net> To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: Olof Johansson <olof@lixom.net>, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] riscv: keep 32-bit kernel to 32-bit phys_addr_t Date: Mon, 6 Jan 2020 15:20:24 -0800 [thread overview] Message-ID: <20200106232024.97137-1-olof@lixom.net> (raw) In-Reply-To: <20200106231611.10169-1-olof@lixom.net> While rv32 technically has 34-bit physical addresses, no current platforms use it and it's likely to shake out driver bugs. Let's keep 64-bit phys_addr_t off on 32-bit builds until one shows up, since other work will be needed to make such a system useful anyway. PHYS_ADDR_T_64BIT is def_bool 64BIT, so just remove the select. Signed-off-by: Olof Johansson <olof@lixom.net> --- v2: Just remove the select, since it's set by default if CONFIG_64BIT arch/riscv/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index a31169b02ec06..569fc6deb94d6 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -12,8 +12,6 @@ config 32BIT config RISCV def_bool y - # even on 32-bit, physical (and DMA) addresses are > 32-bits - select PHYS_ADDR_T_64BIT select OF select OF_EARLY_FLATTREE select OF_IRQ -- 2.20.1
next prev parent reply other threads:[~2020-01-06 23:20 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-06 23:16 [PATCH] riscv: keep 32-bit kernel to 32-bit phys_addr_t Olof Johansson 2020-01-06 23:16 ` Olof Johansson 2020-01-06 23:20 ` Olof Johansson [this message] 2020-01-06 23:20 ` [PATCH v2] " Olof Johansson 2020-01-10 21:24 ` Palmer Dabbelt 2020-01-10 21:24 ` Palmer Dabbelt 2020-01-11 1:14 ` Paul Walmsley 2020-01-11 1:14 ` Paul Walmsley 2020-01-11 1:48 ` Palmer Dabbelt 2020-01-11 1:48 ` Palmer Dabbelt
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=20200106232024.97137-1-olof@lixom.net \ --to=olof@lixom.net \ --cc=aou@eecs.berkeley.edu \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=palmer@dabbelt.com \ --cc=paul.walmsley@sifive.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.