Message ID | 20241010135146.181175-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 2EDC5CF11F5 for <linux-mm@archiver.kernel.org>; Thu, 10 Oct 2024 13:51:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 88A096B0082; Thu, 10 Oct 2024 09:51:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 839C76B0083; Thu, 10 Oct 2024 09:51:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 729A46B0085; Thu, 10 Oct 2024 09:51:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 5B4A86B0082 for <linux-mm@kvack.org>; Thu, 10 Oct 2024 09:51:54 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 8AD1A40448 for <linux-mm@kvack.org>; Thu, 10 Oct 2024 13:51:51 +0000 (UTC) X-FDA: 82657830948.30.2696D39 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf07.hostedemail.com (Postfix) with ESMTP id 1E69940005 for <linux-mm@kvack.org>; Thu, 10 Oct 2024 13:51:49 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf07.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=1728568161; 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=sbGLcGoJBjMNSqVMY9ztyKGwIkMj8i3zI2u3obPzMZk=; b=fZDU4CxeasCTEPYnrySyTe7z+xZ0ZuuxLtIneBRwnJG0QuMzujCgAMkGg6BUNCrEReeqqK tI0HdlOgwGC9ZR2VONKCsLg19dFt+rEFeeGDOuu9HwvesNgQL14hR0kLUryHHDM3htmBST Gu/mtAoSQicA2aeAz4k5qk1UOw6CuG4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728568161; a=rsa-sha256; cv=none; b=wMI/xdA74aiRMEOmwwPDkT/89daFzJgGNREKCU9cw31y5jdjT4FoTyVmXSPxE1pYT16IEV MtB2xJeayy6EVz/pO5jOFKDarUD/env3RCsLP4jO6cedH2TvZuhGjksxRVk/sOzWIO5vcZ EWeUDQrJpKqC9newwAxh63kh8o6X3gg= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf07.hostedemail.com: domain of vincenzo.frascino@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=vincenzo.frascino@arm.com 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 D3F44497; Thu, 10 Oct 2024 06:52:20 -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 9F4C33F64C; Thu, 10 Oct 2024 06:51:50 -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 v4 0/2] vdso: Use only headers from the vdso/ namespace Date: Thu, 10 Oct 2024 14:51:44 +0100 Message-Id: <20241010135146.181175-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-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 1E69940005 X-Stat-Signature: o46pqci6g83iymqsftz3sdrw6zpyyxxe X-Rspam-User: X-HE-Tag: 1728568309-745939 X-HE-Meta: U2FsdGVkX18NaE5xz2L3mRyctNnXVNFm4dnEI4gPYx/uQOFeXJ2TqnHW/abZgiCA9c0sbWqk3ZK5cp5w51yevs0wy7zFKdiRhXkrdSLxSrgGL5XYMfJJYYKAtjhgxkXi1y86Ozrfo8+12Sq4HMU+0yUh2MzVHJDZTj8+XcS/g+ODQHYjBFiw+aaWnC7eAHpA6D0XPHcAU64tvBtPkU+kPzMqiwFzSMoUoT/8K5bXNajQocuekRI2heSt7Lwg8xfFqmkRXRBZn/K27XtfemYZ6Uxmm847P2QrQrw15Vue3AzPzVIcbz4zVNTufTvD5Q7amSimwlnKLYapqPQMfw3DJZCMRB6X68rxxsNl9UeA9tjPkUlgeZJsj6jpsLW6SARx1ERl/J8+wQFz+N8ouyy7yX2ytEf8BdFznZoCs9zh6u8t0wxAUs3Pbd41zB0dRMpntRpzfDKaYu5rFItI0wZvhZ4mP4Efw2okSJi6pN+Cbs6cP/1Fy+qRe7CEWsXSOUNM6fxFH4n/GTKehNys2L27N6SI51dmdyp7wCnAG9gEl+gB5VBsdacIRGqjL30wEmjxaLZpcORMgaoktTsLwAmpqZ3v7LWYy5LCGwvzzjIn4qXPQnfj0M59aQGt0Qv1uhzUZAvGy9dELHpM47xY7OmZYbuo0HuKS2x1Z3GM4uORQJ1uKftI8Arj018szxUGnLLPExOLtOJo8NA8jvgnPwSb8geNKzXBNAq3NPwau0/BIx6pIXcSs8Hv1oeO2WQLUFBRysYulmo7C52UdHxr5xlXKxvwfqUTfSiH64SOkNOf9yywwwncJkdI2jTv2cq/QI6ktRhs8PHOKjOK7nAHo7HAuA2K4h5CwIx23OtMrU1Kk9WzBazAmPXXbOWR85k7cHbRQVe+AzesUGtua/odS4601Vb1VhSIvGJX9foaFN0mNbkt77rtFxhyxFSH2+/VyeB4Y9t/O/Wplkdu4f4HAtF ObC4gfMZ /SygWd6+x3fYwMYHOFPrhItjBIm/Jn8EZkX8r4GrXXo6LUO9Ec6xEg/wr7WVxD/6uCs1dPx4cv7sDc24gfmq08clbwcjoLCnknxGMNFzaeAOgRYaHuv20FqBWIWcj7PD3spKvN/1e7TcF6T8RQlr0d7hR8qpXOAEPPCL59wjmHQW08YlNrOCA+G9J/g== 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: -------- 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 (2): drm: i915: Change fault type to unsigned long vdso: Introduce vdso/page.h 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 | 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 ++++++++++++++++++++++++++++++ 24 files changed, 60 insertions(+), 108 deletions(-) create mode 100644 include/vdso/page.h