From nobody Sun Oct 5 14:33:03 2025 Received: from psionic.psi5.com (psionic.psi5.com [185.187.169.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF5DA14AD20; Sat, 2 Aug 2025 02:42:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.187.169.70 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754102530; cv=none; b=ISK7AE/L+doXMMTSyy6f/A3kME4emlYSc0kLeApLqGztUQR0eQaz1YPnMyow8TIv6CQSBe3f7oLkHwc6bU1LzSCHS84hnVo4Ke3A/3kcn5JyiKMaocrJw6ebkxXhcA4tLa2PKVm/9AVuQcbn+88cNIPihK+sDdyPst7+W78XQ1Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754102530; c=relaxed/simple; bh=2r+KFlA1Ln/PLuPHeodGMNNpFLWlyaxjphnCHgaiOFQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R/NQUS0HwqJ1YRUJ55LwxyacRkLMEzzYwqytClULweUC2okTqH8TOB4useUR9qPA7EPVakVxENN/qTN9Vdgp65EhNoit2ZSwZD8np+t5fA/c4a/qCstMyJ1M3jAMFCQ+eSp4Hz/uBWyqAmtUcm17Xoe2eT6Jb16hqlo10+8ILYk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hogyros.de; spf=pass smtp.mailfrom=hogyros.de; arc=none smtp.client-ip=185.187.169.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hogyros.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hogyros.de Received: from localhost.localdomain (unknown [IPv6:2400:2410:b120:f200:2e09:4dff:fe00:2e9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by psionic.psi5.com (Postfix) with ESMTPSA id C677E3F104; Sat, 2 Aug 2025 04:42:00 +0200 (CEST) From: Simon Richter To: =?UTF-8?q?Thomas=20Hellstr=C3=B6m?= , intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Simon Richter , stable@vger.kernel.org Subject: [PATCH v4] Mark xe driver as BROKEN if kernel page size is not 4kB Date: Sat, 2 Aug 2025 11:40:36 +0900 Message-ID: <20250802024152.3021-1-Simon.Richter@hogyros.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <37abb9a1a4fde174a54a9d7868d31b2615df0e47.camel@linux.intel.com> References: <37abb9a1a4fde174a54a9d7868d31b2615df0e47.camel@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This driver, for the time being, assumes that the kernel page size is 4kB, so it fails on loong64 and aarch64 with 16kB pages, and ppc64el with 64kB pages. Signed-off-by: Simon Richter Cc: stable@vger.kernel.org --- drivers/gpu/drm/xe/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xe/Kconfig b/drivers/gpu/drm/xe/Kconfig index 2bb2bc052120..714d5702dfd7 100644 --- a/drivers/gpu/drm/xe/Kconfig +++ b/drivers/gpu/drm/xe/Kconfig @@ -5,6 +5,7 @@ config DRM_XE depends on KUNIT || !KUNIT depends on INTEL_VSEC || !INTEL_VSEC depends on X86_PLATFORM_DEVICES || !(X86 && ACPI) + depends on PAGE_SIZE_4KB || COMPILE_TEST || BROKEN select INTERVAL_TREE # we need shmfs for the swappable backing store, and in particular # the shmem_readpage() which depends upon tmpfs --=20 2.47.2