]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
uio_hv_generic: Align ring size to system page
authorLong Li <longli@microsoft.com>
Tue, 6 May 2025 00:56:35 +0000 (17:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:36 +0000 (15:57 +0200)
commitc8ea0f204cf45f82613f6275fe90b1cac813ed38
treef8262291936d40aaeeac0404b01f83d38fac8b6e
parenta955c1b360b3763b911b9485887612953fa500c8
uio_hv_generic: Align ring size to system page

[ Upstream commit 0315fef2aff9f251ddef8a4b53db9187429c3553 ]

Following the ring header, the ring data should align to system page
boundary. Adjust the size if necessary.

Cc: stable@vger.kernel.org
Fixes: 95096f2fbd10 ("uio-hv-generic: new userspace i/o driver for VMBus")
Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1746492997-4599-4-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1746492997-4599-4-git-send-email-longli@linuxonhyperv.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/uio/uio_hv_generic.c