From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: Lukas Bulwahn <lukas.bulwahn@gmail.com>,
Joe Perches <joe@perches.com>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
kernel-janitors <kernel-janitors@vger.kernel.org>
Subject: Re: State of RFC PATCH Remove CONFIG_DCACHE_WORD_ACCESS
Date: Mon, 12 Sep 2022 15:22:25 +0000 [thread overview]
Message-ID: <91e6cf8b-f66a-3ea1-daa0-2ea875b7e7e8@csgroup.eu> (raw)
In-Reply-To: <CAKXUXMzQDy-A5n8gvHaT9s21dn_ThuW0frCgm_tXMHPUhLY2zA@mail.gmail.com>
Le 12/09/2022 à 15:46, Lukas Bulwahn a écrit :
> Hi Joe, hi Ben,
>
> While reviewing some kernel config, I came across
> CONFIG_DCACHE_WORD_ACCESS and tried to understand its purpose.
>
> Then, I discovered this RFC patch from 2014 that seems never to have
> been integrated:
>
> https://lore.kernel.org/all/1393964591.20435.58.camel@joe-AO722/
> [RFC] Remove CONFIG_DCACHE_WORD_ACCESS
>
> The discussion seemed to just not continue and the patch was just not
> integrated by anyone.
>
> In the meantime, the use of CONFIG_DCACHE_WORD_ACCESS has spread into
> a few more files, but replacing it with
> CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS still seems feasible.
>
> Are you aware of reasons that this patch from 2014 should not be integrated?
>
> I would spend some time to move the integration of this patch further
> if you consider that the patch is not completely wrong.
>
As far as I can see, for the time being this is not equivalent on powerpc:
select HAVE_EFFICIENT_UNALIGNED_ACCESS if !(CPU_LITTLE_ENDIAN &&
POWER7_CPU)
select DCACHE_WORD_ACCESS if PPC64 && CPU_LITTLE_ENDIAN
This will need to be investigated I guess.
In the meantime I'll try to see if it makes any difference for ppc32.
Christophe
next prev parent reply other threads:[~2022-09-12 15:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 13:46 Lukas Bulwahn
2022-09-12 15:22 ` Christophe Leroy [this message]
2022-09-13 9:42 ` Christophe Leroy
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=91e6cf8b-f66a-3ea1-daa0-2ea875b7e7e8@csgroup.eu \
--to=christophe.leroy@csgroup.eu \
--cc=benh@kernel.crashing.org \
--cc=joe@perches.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lukas.bulwahn@gmail.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: 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
all inboxes | Powered by JetHome®