From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: WANG Xuerui <git@xen0n.name>
Cc: linux-mips@vger.kernel.org
Subject: Re: [PATCH v2 0/3] CPUCFG emulation future-proofing & HWCAP addition
Date: Sun, 31 May 2020 11:36:45 +0200 [thread overview]
Message-ID: <20200531093645.GA3948@alpha.franken.de> (raw)
In-Reply-To: <20200530073243.16411-1-git@xen0n.name>
On Sat, May 30, 2020 at 03:32:40PM +0800, WANG Xuerui wrote:
> This patch series future-proofs the CPUCFG emulation, in light of
> possibility of new Loongson cores still lacking native CPUCFG.
> Also an HWCAP flag bit is allocated and exposed for userspace's probing
> convenience, per the earlier plan shared on the mailing list.
>
> Tested on Loongson-3A3000 and Loongson-3A4000. Compile-tested with
> 64r2_defconfig.
>
> v2:
> - unconditionally bump PERF_COUNT_SW_EMULATION_FAULTS even on
> unsupported core models
> - reordered model match arms per Huacai's review
> - tweaked commit message of 2nd patch
>
> WANG Xuerui (3):
> MIPS: Loongson64: Guard against future cores without CPUCFG
> MIPS: Expose Loongson CPUCFG availability via HWCAP
> MIPS: Loongson64: Reorder CPUCFG model match arms
>
> .../include/asm/mach-loongson64/cpucfg-emul.h | 11 +++
> arch/mips/include/uapi/asm/hwcap.h | 1 +
> arch/mips/kernel/traps.c | 4 ++
> arch/mips/loongson64/cpucfg-emul.c | 70 +++++++++++--------
> 4 files changed, 56 insertions(+), 30 deletions(-)
series applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
prev parent reply other threads:[~2020-05-31 9:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-30 7:32 [PATCH v2 0/3] CPUCFG emulation future-proofing & HWCAP addition WANG Xuerui
2020-05-30 7:32 ` [PATCH v2 1/3] MIPS: Loongson64: Guard against future cores without CPUCFG WANG Xuerui
2020-05-30 10:26 ` Huacai Chen
2020-05-30 7:32 ` [PATCH v2 2/3] MIPS: Expose Loongson CPUCFG availability via HWCAP WANG Xuerui
2020-05-30 10:27 ` Huacai Chen
2020-05-30 7:32 ` [PATCH v2 3/3] MIPS: Loongson64: Reorder CPUCFG model match arms WANG Xuerui
2020-05-30 10:27 ` Huacai Chen
2020-05-31 9:36 ` Thomas Bogendoerfer [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=20200531093645.GA3948@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--cc=git@xen0n.name \
--cc=linux-mips@vger.kernel.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 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.