Re: [PATCH] KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers

2023-12-02 Thread Michael Ellerman
On Wed, 22 Nov 2023 12:58:11 +1000, Nicholas Piggin wrote: > Before running a guest, the host process (e.g., QEMU) FP/VEC registers > are saved if they were being used, similarly to when the kernel uses FP > registers. The guest values are then be loaded into regs, and the host > process registers

Re: [PATCH v2] powerpc: Don't clobber fr0/vs0 during fp|altivec register save

2023-12-02 Thread Michael Ellerman
On Sun, 19 Nov 2023 09:18:02 -0600, Timothy Pearson wrote: > During floating point and vector save to thread data fr0/vs0 are clobbered > by the FPSCR/VSCR store routine. > > [...] Applied to powerpc/fixes. [1/1] powerpc: Don't clobber fr0/vs0 during fp|altivec register save https://git.ke

[GIT PULL] Please pull powerpc/linux.git powerpc-6.7-3 tag

2023-12-02 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some powerpc fixes for 6.7: The following changes since commit 98b1cc82c4affc16f5598d4fa14b1858671b2263: Linux 6.7-rc2 (2023-11-19 15:02:14 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/l

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.7-3 tag

2023-12-02 Thread pr-tracker-bot
The pull request you sent on Sun, 03 Dec 2023 10:12:23 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-6.7-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1b8af6552cb7c9bf1194e871f8d733a19b113230 Thank you! -- Deet-doot-do

[PATCH v3] powerpc/pseries/vas: Use usleep_range() to support HCALL delay

2023-12-02 Thread Haren Myneni
VAS allocate, modify and deallocate HCALLs returns H_LONG_BUSY_ORDER_1_MSEC or H_LONG_BUSY_ORDER_10_MSEC for busy delay and expects OS to reissue HCALL after that delay. But using msleep() will often sleep at least 20 msecs even though the hypervisor suggests OS reissue these HCALLs after 1 or 10ms