From patchwork Wed Mar 15 23:20:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 13176752 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4961C7618D for ; Wed, 15 Mar 2023 23:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EIbp11crFR5JphhIFCOjYk698wfbbZ0pyEfbmMwG95o=; b=Mw+X0bYlW2D3BD m04bVonIs2wsXJPHNDKlIwzCTWLy2lRxhY4m/nsZsfK5H5sbTVReAsslevf2m4Ggwlp5buInmz6wF OwWnHPgbZBnCnBY7HLSzxfLHECoKa02hW+I2/+AvFIkIw8aP9GAdm9Ms94qZ3xgkOfwoo2TZb7gNA LMnUvtmg8zxbQg+r5A3fUQs4+DNPJZkxFk7WjcLq4aY/lF19HmrjGwR6+UTh8jxbdJGekw4RNzl0O imwmuMHdCKHoMFoCPDA0pT03+uPxkgF0awsXXxcVGEm8vfcZTr2DY3Q4IDqv44VS112ru/kCtUZDa 8Jozv8XdAE04PbTOHxPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pcaQr-00EhET-2A; Wed, 15 Mar 2023 23:21:21 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pcaQo-00EhDA-2g for linux-arm-kernel@lists.infradead.org; Wed, 15 Mar 2023 23:21:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678922478; x=1710458478; h=from:subject:date:message-id:mime-version: content-transfer-encoding:to:cc; bh=JtqPhoEKPXalriYhJjGElknB+PaqWOwwVH9zLKYLARE=; b=oK+g/mjs+sPqkZ0Lsl/M5fY6MtULJ05UQ3FpwbETVGdIzrlH1Zu9kcZp kCBhyYgji6VyEtqbwZ6qmuU/IvNXExRSaRoKYKRMaE455WjQTQg+dVP9U 9CImjfzShNioZU91lFXHFRD/2tbgLIG/CrRXkTEON/pJLRLzmILLoS6+L 2fM1dwez14hqbqnIy268Z/acyYLyT7LSqhKw7c8uZKTgLMkkT7NjeZxCE 7AcZ9pfAep1UVsHlkCh30kozgsEymUmDM5veM3fGzQUGAdwMhCfKpIx6Z pG5kBXEP7Q2wjx+E2JRpQSZuEoEu4oWZ1ZjuyHO8gPsBGxkf1I4GY6VbG g==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="365527031" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="365527031" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2023 16:21:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="672915084" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="672915084" Received: from iweiny-desk3.amr.corp.intel.com (HELO localhost) ([10.212.196.133]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2023 16:21:00 -0700 From: Ira Weiny Subject: [PATCH 0/3] COVER: Remove memcpy_page_flushcache() Date: Wed, 15 Mar 2023 16:20:53 -0700 Message-Id: <20221230-kmap-x86-v1-0-15f1ecccab50@intel.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANVSEmQC/x2N0QrCMBAEf6XcswdJBCv+ivhwaTf2kMZyJ1Io/ XdTH4edZTZymMLp1m1k+KrruzaIp46GSeoTrGNjSiGlmM6BX7MsvF4vnMsoPWIJPUBNz+LgbFK H6TjM4h/YMSyGouu/cX/s+w9yRuQEcwAAAA== To: Dave Hansen , Thomas Gleixner , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Catalin Marinas , Will Deacon , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" Cc: Dan Williams , Al Viro , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Ira Weiny X-Mailer: b4 0.13-dev-ada30 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678922459; l=998; i=ira.weiny@intel.com; s=20221222; h=from:subject:message-id; bh=JtqPhoEKPXalriYhJjGElknB+PaqWOwwVH9zLKYLARE=; b=U9HC5ieE6mtI6yDhHzLskDipFcXfN5V+3f/6dtOP+vYtK4gh7RQ5RqWHvkM2/fof3yGgZa9rC TzxAczQSZNABEql6X/OHl+LQecFJp7Jop+9LSTx06n4/b9j5a3XT3GW X-Developer-Key: i=ira.weiny@intel.com; a=ed25519; pk=brwqReAJklzu/xZ9FpSsMPSQ/qkSalbg6scP3w809Ec= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230315_162118_882072_9F104A4F X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit 21b56c847753 ("iov_iter: get rid of separate bvec and xarray callbacks") removed the calls to memcpy_page_flushcache(). kmap_atomic() is deprecated and used in the x86 version of memcpy_page_flushcache(). Remove the unnecessary memcpy_page_flushcache() call from all arch's. Signed-off-by: Ira Weiny --- Ira Weiny (3): x86, uaccess: Remove memcpy_page_flushcache() powerpc: Remove memcpy_page_flushcache() arm: uaccess: Remove memcpy_page_flushcache() arch/arm64/include/asm/uaccess.h | 2 -- arch/arm64/lib/uaccess_flushcache.c | 6 ------ arch/powerpc/include/asm/uaccess.h | 2 -- arch/powerpc/lib/pmem.c | 7 ------- arch/x86/include/asm/uaccess_64.h | 2 -- arch/x86/lib/usercopy_64.c | 9 --------- 6 files changed, 28 deletions(-) --- base-commit: 6015b1aca1a233379625385feb01dd014aca60b5 change-id: 20221230-kmap-x86-bfda7e1f07ee Best regards,