Re: [PATCH v2 2/2] powerpc/perf: Return regs->nip as instruction pointer value when SIAR is 0

2021-08-15 Thread Christophe Leroy
Le 16/08/2021 à 08:44, kajoljain a écrit : On 8/14/21 6:14 PM, Michael Ellerman wrote: Christophe Leroy writes: Le 13/08/2021 à 10:24, Kajol Jain a écrit : Incase of random sampling, there can be scenarios where SIAR is not latching sample address and results in 0 value. Since current co

Re: [PATCH v2 2/2] powerpc/perf: Return regs->nip as instruction pointer value when SIAR is 0

2021-08-15 Thread kajoljain
On 8/13/21 3:04 PM, Christophe Leroy wrote: > > > Le 13/08/2021 à 10:24, Kajol Jain a écrit : >> Incase of random sampling, there can be scenarios where SIAR is not >> latching sample address and results in 0 value. Since current code >> directly returning the siar value, we could see multiple

Re: [PATCH v2 2/2] powerpc/perf: Return regs->nip as instruction pointer value when SIAR is 0

2021-08-15 Thread kajoljain
On 8/14/21 6:14 PM, Michael Ellerman wrote: > Christophe Leroy writes: >> Le 13/08/2021 à 10:24, Kajol Jain a écrit : >>> Incase of random sampling, there can be scenarios where SIAR is not >>> latching sample address and results in 0 value. Since current code >>> directly returning the siar va

Re: [PATCH v2 1/2] powerpc/perf: Use stack siar instead of mfspr

2021-08-15 Thread kajoljain
On 8/14/21 6:00 PM, Michael Ellerman wrote: > Christophe Leroy writes: >> Le 13/08/2021 à 10:29, kajoljain a écrit : >>> >>> On 8/13/21 1:54 PM, Kajol Jain wrote: Minor optimization in the 'perf_instruction_pointer' function code by making use of stack siar instead of mfspr.

[PATCH] powerpc/pseries: Fix build error when NUMA=n

2021-08-15 Thread Michael Ellerman
As reported by lkp, if NUMA=n we see a build error: arch/powerpc/platforms/pseries/hotplug-cpu.c: In function 'pseries_cpu_hotplug_init': arch/powerpc/platforms/pseries/hotplug-cpu.c:1022:8: error: 'node_to_cpumask_map' undeclared 1022 |node_to_cpumask_map[node]); Use cpumask_

Re: [PATCH] crypto: DRBG - select SHA512

2021-08-15 Thread Herbert Xu
On Mon, Aug 16, 2021 at 04:45:14AM +0200, Christophe Leroy wrote: > > The fixes tag has a problem it seems. Should be corrected before pushing. It's too late for that. This commit is at the base of many other subsequent changes. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.a

Re: [PATCH] crypto: DRBG - select SHA512

2021-08-15 Thread Christophe Leroy
Herbert Xu a écrit : On Sat, Aug 14, 2021 at 06:23:26PM +0200, Borislav Petkov wrote: On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote: > Stephan Mueller wrote: > > With the swtich to use HMAC(SHA-512) as the default DRBG type, the > > configuration must now also select SHA-512. > >

Re: [PATCH] crypto: DRBG - select SHA512

2021-08-15 Thread Herbert Xu
On Sat, Aug 14, 2021 at 06:23:26PM +0200, Borislav Petkov wrote: > On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote: > > Stephan Mueller wrote: > > > With the swtich to use HMAC(SHA-512) as the default DRBG type, the > > > configuration must now also select SHA-512. > > > > > > Fixes: 9

[powerpc:next-test] BUILD SUCCESS 0355785313e2191be4e1108cdbda94ddb0238c48

2021-08-15 Thread kernel test robot
nfig arm64 defconfig i386 randconfig-c001-20210816 i386 randconfig-c001-20210815 nios2 3c120_defconfig sh landisk_defconfig sh se7712_defconfig armtrizeps4_defc

[powerpc:next] BUILD SUCCESS 1e688dd2a3d6759d416616ff07afc4bb836c4213

2021-08-15 Thread kernel test robot
defconfig i386 randconfig-c001-20210816 i386 randconfig-c001-20210815 nios2 3c120_defconfig sh landisk_defconfig sh se7712_defconfig arm

linux-next: manual merge of the powerpc tree with Linus' tree

2021-08-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the powerpc tree got a conflict in: arch/powerpc/sysdev/xive/common.c between commit: cbc06f051c52 ("powerpc/xive: Do not skip CPU-less nodes when creating the IPIs") from Linus' tree and commit: 17df41fec5b8 ("powerpc: use IRQF_NO_DEBUG for IPIs")

[PATCH] powerpc/head_check: use stdout for error messages

2021-08-15 Thread Randy Dunlap
Prefer stderr instead of stdout for error messages. This is a good practice and can help CI error detecting and reporting (0day in this case). Signed-off-by: Randy Dunlap Cc: "Chen, Rong A" Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Cc

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.14-5 tag

2021-08-15 Thread pr-tracker-bot
The pull request you sent on Sun, 15 Aug 2021 22:48:51 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.14-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ecf93431963a95c0f475921101bedc0dd62ec96d Thank you! -- Deet-doot-d

Re: [PATCH v2 03/12] x86/sev: Add an x86 version of prot_guest_has()

2021-08-15 Thread Borislav Petkov
On Sun, Aug 15, 2021 at 08:53:31AM -0500, Tom Lendacky wrote: > It's not a cross-vendor thing as opposed to a KVM or other hypervisor > thing where the family doesn't have to be reported as AMD or HYGON. What would be the use case? A HV starts a guest which is supposed to be encrypted using the AM

Re: [PATCH v2 03/12] x86/sev: Add an x86 version of prot_guest_has()

2021-08-15 Thread Tom Lendacky
On 8/14/21 2:08 PM, Borislav Petkov wrote: On Fri, Aug 13, 2021 at 11:59:22AM -0500, Tom Lendacky wrote: diff --git a/arch/x86/include/asm/protected_guest.h b/arch/x86/include/asm/protected_guest.h new file mode 100644 index ..51e4eefd9542 --- /dev/null +++ b/arch/x86/include/asm/pr

[GIT PULL] Please pull powerpc/linux.git powerpc-5.14-5 tag

2021-08-15 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.14: The following changes since commit a88603f4b92ecef9e2359e40bcb99ad399d85dd7: powerpc/vdso: Don't use r30 to avoid breaking Go lang (2021-07-29 23:13:12 +1000) are available in the git rep