* [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features()
@ 2024-08-10 9:39 Yue Haibing
2024-08-13 3:57 ` Anshuman Khandual
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Yue Haibing @ 2024-08-10 9:39 UTC (permalink / raw)
To: catalin.marinas, will, broonie, mark.rutland
Cc: linux-arm-kernel, linux-kernel, yuehaibing
Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
removed the implementation but leave declaration.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
arch/arm64/include/asm/fpsimd.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
index bc69ac368d73..f2a84efc3618 100644
--- a/arch/arm64/include/asm/fpsimd.h
+++ b/arch/arm64/include/asm/fpsimd.h
@@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
-extern u64 read_smcr_features(void);
-
/*
* Helpers to translate bit indices in sve_vq_map to VQ values (and
* vice versa). This allows find_next_bit() to be used to find the
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features()
2024-08-10 9:39 [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features() Yue Haibing
@ 2024-08-13 3:57 ` Anshuman Khandual
2024-08-13 10:03 ` Mark Brown
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Anshuman Khandual @ 2024-08-13 3:57 UTC (permalink / raw)
To: Yue Haibing, catalin.marinas, will, broonie, mark.rutland
Cc: linux-arm-kernel, linux-kernel
On 8/10/24 15:09, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> arch/arm64/include/asm/fpsimd.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
> index bc69ac368d73..f2a84efc3618 100644
> --- a/arch/arm64/include/asm/fpsimd.h
> +++ b/arch/arm64/include/asm/fpsimd.h
> @@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
> extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
> extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
>
> -extern u64 read_smcr_features(void);
> -
> /*
> * Helpers to translate bit indices in sve_vq_map to VQ values (and
> * vice versa). This allows find_next_bit() to be used to find the
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features()
2024-08-10 9:39 [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features() Yue Haibing
2024-08-13 3:57 ` Anshuman Khandual
@ 2024-08-13 10:03 ` Mark Brown
2024-08-14 8:47 ` Zenghui Yu
2024-08-16 15:16 ` Will Deacon
3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2024-08-13 10:03 UTC (permalink / raw)
To: Yue Haibing
Cc: catalin.marinas, will, mark.rutland, linux-arm-kernel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
On Sat, Aug 10, 2024 at 05:39:44PM +0800, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
Reviewed-by: Mark Brown <broonie@kernel.org>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features()
2024-08-10 9:39 [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features() Yue Haibing
2024-08-13 3:57 ` Anshuman Khandual
2024-08-13 10:03 ` Mark Brown
@ 2024-08-14 8:47 ` Zenghui Yu
2024-08-16 15:16 ` Will Deacon
3 siblings, 0 replies; 5+ messages in thread
From: Zenghui Yu @ 2024-08-14 8:47 UTC (permalink / raw)
To: Yue Haibing
Cc: catalin.marinas, will, broonie, mark.rutland, linux-arm-kernel,
linux-kernel
On 2024/8/10 17:39, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> arch/arm64/include/asm/fpsimd.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h
> index bc69ac368d73..f2a84efc3618 100644
> --- a/arch/arm64/include/asm/fpsimd.h
> +++ b/arch/arm64/include/asm/fpsimd.h
> @@ -155,8 +155,6 @@ extern void cpu_enable_sme2(const struct arm64_cpu_capabilities *__unused);
> extern void cpu_enable_fa64(const struct arm64_cpu_capabilities *__unused);
> extern void cpu_enable_fpmr(const struct arm64_cpu_capabilities *__unused);
>
> -extern u64 read_smcr_features(void);
> -
> /*
> * Helpers to translate bit indices in sve_vq_map to VQ values (and
> * vice versa). This allows find_next_bit() to be used to find the
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features()
2024-08-10 9:39 [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features() Yue Haibing
` (2 preceding siblings ...)
2024-08-14 8:47 ` Zenghui Yu
@ 2024-08-16 15:16 ` Will Deacon
3 siblings, 0 replies; 5+ messages in thread
From: Will Deacon @ 2024-08-16 15:16 UTC (permalink / raw)
To: catalin.marinas, broonie, mark.rutland, Yue Haibing
Cc: kernel-team, Will Deacon, linux-arm-kernel, linux-kernel
On Sat, 10 Aug 2024 17:39:44 +0800, Yue Haibing wrote:
> Commit 391208485c3a ("arm64/sve: Remove SMCR pseudo register from cpufeature code")
> removed the implementation but leave declaration.
>
>
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64/sve: Remove unused declaration read_smcr_features()
https://git.kernel.org/arm64/c/93b81abc6ea9
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-08-16 15:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-10 9:39 [PATCH -next] arm64/sve: Remove unused declaration read_smcr_features() Yue Haibing
2024-08-13 3:57 ` Anshuman Khandual
2024-08-13 10:03 ` Mark Brown
2024-08-14 8:47 ` Zenghui Yu
2024-08-16 15:16 ` Will Deacon
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®