]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary
authorLong Li <longli@microsoft.com>
Tue, 6 May 2025 00:56:33 +0000 (17:56 -0700)
committerWei Liu <wei.liu@kernel.org>
Fri, 23 May 2025 16:30:56 +0000 (16:30 +0000)
commit09eea7ad0b8e973dcf5ed49902838e5d68177f8e
treec6eb4c066aa10e68625dc9d20c1fb39603afd8e5
parent43cb39ad260a168abf6da3a48f394afff92d436b
Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary

There are use cases that interrupt and monitor pages are mapped to
user-mode through UIO, so they need to be system page aligned. Some
Hyper-V allocation APIs introduced earlier broke those requirements.

Fix this by using page allocation functions directly for interrupt
and monitor pages.

Cc: stable@vger.kernel.org
Fixes: ca48739e59df ("Drivers: hv: vmbus: Move Hyper-V page allocator to arch neutral code")
Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1746492997-4599-2-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1746492997-4599-2-git-send-email-longli@linuxonhyperv.com>
drivers/hv/connection.c