Message ID | 20241014151340.1639555-1-vincenzo.frascino@arm.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22EFAD18123 for <linux-mm@archiver.kernel.org>; Mon, 14 Oct 2024 15:13:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A5E886B008A; Mon, 14 Oct 2024 11:13:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9E7336B008C; Mon, 14 Oct 2024 11:13:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8AE7E6B0092; Mon, 14 Oct 2024 11:13:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 6AEB76B008A for <linux-mm@kvack.org>; Mon, 14 Oct 2024 11:13:49 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 5E5E781098 for <linux-mm@kvack.org>; Mon, 14 Oct 2024 15:13:42 +0000 (UTC) X-FDA: 82672552410.15.CB0D43E Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf05.hostedemail.com (Postfix) with ESMTP id 4465D100013 for <linux-mm@kvack.org>; Mon, 14 Oct 2024 15:13:35 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf05.hostedemail.com: domain of vincenzo.frascino@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=vincenzo.frascino@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728918796; a=rsa-sha256; cv=none; b=e4rm3iwiRIvhL6XI+lA5Q8+AlpvmC1XpmtCpksXAzEpPLiNLBi8+biZkOl6IfC5YG1Iuio 122TBDh0A59IHT1jWFRf6HFK2GYohRNofatKHF1CwhHwzyaOcTByDe17Uvd2fEdn1gipPt Cg2Xywf0ZJA7kLoOO74UqquX0xrsnOI= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf05.hostedemail.com: domain of vincenzo.frascino@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=vincenzo.frascino@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728918796; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=fkhYae/dlmdVOleY0lj3HU1aBFRGlsVH5rfCRpbXOZ8=; b=tcP6VoGVsHsNewgR4ienxWUI2Y9UII3vyXvLB7Guv0nPmG4bh4w36u8kZQVGuapbNmaj9T TIG5UMyX6p4vZ4LKi0qfyD0cRGP1F66UY2+SO6rnbKAS9XLZDJRS7WWyPkAEUhZLuSLKGC etIp784KruQ36FFMZJwlMR7TCGCtyhQ= Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 81DB21007; Mon, 14 Oct 2024 08:14:15 -0700 (PDT) Received: from e119884-lin.cambridge.arm.com (e119884-lin.cambridge.arm.com [10.1.196.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2A2B83F51B; Mon, 14 Oct 2024 08:13:45 -0700 (PDT) From: Vincenzo Frascino <vincenzo.frascino@arm.com> To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Subject: [PATCH v5 0/3] vdso: Use only headers from the vdso/ namespace Date: Mon, 14 Oct 2024 16:13:37 +0100 Message-Id: <20241014151340.1639555-1-vincenzo.frascino@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Stat-Signature: md5rfzd6qo5ih31xtk6tugjrxc4mjzzc X-Rspamd-Queue-Id: 4465D100013 X-Rspamd-Server: rspam02 X-HE-Tag: 1728918815-287326 X-HE-Meta: U2FsdGVkX18RYpPY/vPK3DZJ+7M4jGI7uTxEvQo0k/oyQ8wxv35kdKpY/pKuwn153BAQyug2E6l6WhbLVv8BCj8VS7E4yoJbVv6hGmyb7gVHHuCbQ+/cOOo3P/tPUD1cNnCw6OfnousRs2GBWWkNOT1xeNroT6NMdRdNuIKv1OcZUtcJvsQRKOc00A7m0QGRu2FDBnsdYd7GPUlbu+ElpbIZw0s5cGOCDb15Qz3TkrUGR1/LKmku3n6dT6EVb338fzap6G4yQXIIn9Y8aetheR3sjqcL50PvM3iUv3hq0bnXTlMfoPlUzOKY0Qbuk2oLkeqhcpRE1JchUPEVMk/NYWZSp9yKkJBALeDAyaD1AeqVYvlfd+tlqtjIJt347+V1kdcqVKjbIv/RGN+KvF6rrStHxvomp+zZxVYnbLRDhRK2xTlzuG2DogbqGDlTOwmgf5pjAiu3aWDsVLt+0j0FYsAtQCNo3eZIkaKAi9F9C6tjporGHFQcfTkxYRp/jO48tsZNjHn4wm9iFDeVwDzY0VCZxePluRMooIV+3Cv/VttDtusWkKBUkPGnKfIK6oEK/y8MXo5GY1tPI3tfUXCa1ykwzff32Aqt8iaAjyltJkpeoA7VOaq34nZVXwU92OaEh49UrCLgC4m6kFXW3hBKAp8Oc9wNu0SEAz4PRn5hR9BGPdkGRdmRwTwl2PYESOsDYOoKFvIdsPJLfFTEAeJzeXbyUqPD0Fctj7UbMDag7aSIaMEzgpEroe4ZeSllk3Z/LB3oHVGkliyDlFPXAYe8rihtGZqr1fX92H7B2/8BT8gV+uE0dH6rCbEM3gbbLXLrgq4qCXAgNdrRUwKmnMLDfcWK1QWXBE1itOaPRucaOhlqeOGJgXF6pMUd3zebwdsQczyZtuEZnxXjw3fmOsgALSeQ7vj640CKIGmUvO+WqcftmrkEmIZjhgEQ4T5tH8KviYmAnDWA1osSJc7ukBB b5x5GV1e ZDhn6aubiQINJg15iipTtz2RJ42gs5G3HMoMywXMOOKDS0oQ4BE2ZrlyKoHEm0Mzh5btgZlA2ow7gDE+LP5qfrbMkZ4ZDr/UegG0aaoTKWbK7J87I5IKKrENhkdfTPxWnbdH+c5A2F5WoFOGDVmsk34aHlasGdGGRs4H/jj62Nl2YGlQ5larbdMF8rg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
vdso: Use only headers from the vdso/ namespace
|
expand
|
The recent implementation of getrandom in the generic vdso library, includes headers from outside of the vdso/ namespace. The purpose of this series is to refactor the code to make sure that the library uses only the allowed namespace. Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Changes: -------- v5: - Fix an issue on s390 reported by kernel test robot. v4: - Address review comments. v3: - Discard vdso/mman.h changes in favor of [1]. - Refactor vdso/page.h. - Add a fix to drm/intel_gt. v2: - Added common PAGE_SIZE and PAGE_MASK definitions. - Added opencoded macros where not defined. - Dropped VDSO_PAGE_* redefinitions. [1] https://lore.kernel.org/lkml/20240925210615.2572360-1-arnd@kernel.org Vincenzo Frascino (3): drm: i915: Change fault type to unsigned long vdso: Introduce vdso/page.h s390: Remove remaining _PAGE_* macros arch/alpha/include/asm/page.h | 6 +----- arch/arc/include/uapi/asm/page.h | 7 +++---- arch/arm/include/asm/page.h | 5 +---- arch/arm64/include/asm/page-def.h | 5 +---- arch/csky/include/asm/page.h | 8 ++------ arch/hexagon/include/asm/page.h | 4 +--- arch/loongarch/include/asm/page.h | 7 +------ arch/m68k/include/asm/page.h | 6 ++---- arch/microblaze/include/asm/page.h | 5 +---- arch/mips/include/asm/page.h | 7 +------ arch/nios2/include/asm/page.h | 7 +------ arch/openrisc/include/asm/page.h | 11 +---------- arch/parisc/include/asm/page.h | 4 +--- arch/powerpc/include/asm/page.h | 10 +--------- arch/riscv/include/asm/page.h | 4 +--- arch/s390/include/asm/page.h | 10 ++-------- arch/s390/include/asm/pgtable.h | 2 +- arch/s390/mm/fault.c | 2 +- arch/s390/mm/gmap.c | 6 +++--- arch/s390/mm/pgalloc.c | 4 ++-- arch/sh/include/asm/page.h | 6 ++---- arch/sparc/include/asm/page_32.h | 4 +--- arch/sparc/include/asm/page_64.h | 4 +--- arch/um/include/asm/page.h | 5 +---- arch/x86/include/asm/page_types.h | 5 +---- arch/xtensa/include/asm/page.h | 8 +------- drivers/gpu/drm/i915/gt/intel_gt.c | 6 +++--- include/vdso/page.h | 30 ++++++++++++++++++++++++++++++ 28 files changed, 68 insertions(+), 120 deletions(-) create mode 100644 include/vdso/page.h