Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp876245rwe; Thu, 1 Sep 2022 08:56:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5plN9ZvXBxjUhL0BuoywXXR60hn+7mCnjbpp7dE/svXs06zs4kfz+nEwYKRNpa5q6k9tWq X-Received: by 2002:a17:907:320a:b0:741:72ee:8f3 with SMTP id xg10-20020a170907320a00b0074172ee08f3mr15161044ejb.168.1662047761047; Thu, 01 Sep 2022 08:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662047761; cv=none; d=google.com; s=arc-20160816; b=UwU0GGCDIL/xOzQ+tVMdiKdP13HeKG5trjONESk7Uls1+QlpJdN13YgN50BdgNbJ79 ESNqd2JmAvJaO4kgvfvl44vHwnBLwZgRTpRMpLuolIYv58mGsPzlRHVcWETIQS7KP9ow fF5lhloAkrJIm+h8homIuHl/cEFxqXkXOE4tgnOYO/xOil7Lto5177MmmRDM+3ij65jL cFl2b8KSdHZMegy7IzZe2cTckPcKM4sF9umQbJM/HhjlunPA9EdIs6oMLOcIBI9laPaQ 37+HjXJLobeCiyO4iJOwp3kT2ZZk1ibYwIDhvWJ5iKqkygE7STW91ahOaRxx0rVXh3Mb R9/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=X9TkxGm30JDjWARGuFmbzcO8RfGNjjRnE8hsb1N4Q70=; b=SFMFP5qQHsZWt5zCp4/+CbS5A8hw5nBjFJ55VghdWxrAt4FgfjFOiMUOGh5CdSs9AU wwtS1bgpxGqErNbqlucFwKneFSRa1u/kHupmE/XRLyzf2aJJErhziqJuXxVMCTWVE/3k ddz/Yxy5ABNQmon2nThc1U4M/E+MuSE5EyYg1R8N4OSuAfgeRACKWjSz8+yk0wnZmy1R MurVW4QpWSiRafQV6XRCUMuFk5ehlhEe/Wt6cBLsajl6qb9hbrABKzBp4d8DqudjfjQY FrusvpSMmT3Az55BTe9W/u6pgqPc2CdHy+S8ZyJ87AbPqQvYcEUHjiqi5i7/+hT5RCR/ 6llw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZaHC+Y5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds16-20020a170907725000b0073063cbab03si15775200ejc.655.2022.09.01.08.55.33; Thu, 01 Sep 2022 08:56:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZaHC+Y5A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234584AbiIAPo3 (ORCPT + 99 others); Thu, 1 Sep 2022 11:44:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234233AbiIAPoQ (ORCPT ); Thu, 1 Sep 2022 11:44:16 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAFD88A6FE for ; Thu, 1 Sep 2022 08:44:14 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id gb36so14691223ejc.10 for ; Thu, 01 Sep 2022 08:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=X9TkxGm30JDjWARGuFmbzcO8RfGNjjRnE8hsb1N4Q70=; b=ZaHC+Y5AP1c03V8qhdITHExLmiTwCrW/+/Uyfe1Ky6DsOUPkQGHu6WtmQObhDoDl9c 29o9yVtpdXOfHIJf8JGaHW2JUeh7jYrsXY+EZtMogRkEygMc0/1TDHNbHCl9iaH4FzEO CD4q+AHnOxtVqp5sAr/jDiJCsR9a+suPI+xBNlKEmxJY/322+l/RaIfbxjaKk1gMMMgp jU37MEqNHmW7eieyZHfU0wQ0/SC0E7uWuMjQsPyjK3tHBYAzdIaYbMLK8YuB/LJ1lYeB qP4CfRamVXeZ+uTqOXBCtl3GUVIH9kmhiDgm6OcUif/xvu4dfbtNtxW/UUm88YSPVn7Z ARSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=X9TkxGm30JDjWARGuFmbzcO8RfGNjjRnE8hsb1N4Q70=; b=cfAso0KubG1sHXDiR57CiWCMMZdO/4ec/QSV+nRgb0aeZj+M+BMryoo2+QbpgbZGFy eh6oZBldKNiWj/ZLhH5IX8DnX14EnD6+9W37k6kIa8SJaOhb+YyjBm0EvBxlfvoufTNp JP0Q51UUzHxfRXWQKNSLRaHeHZjiqYKlspim5JJOp52w4mA2hYqmkS3l3gZm8aePCSyq 5CTf19IDQjelpxTcnZmJ88biMg8e3NwNu3d+ddjm+jeWkqpwtox9wsXDeesdTQJjUdJV tSlsRle4D9btNCAjUhziQqtGJWIduGGHIjLmp87mjLp1zpIiti9S/IaYiDlzKxKmm0Y/ lDiQ== X-Gm-Message-State: ACgBeo1lshEHCNaPzLEkpsXBCu1S21jaoc4BbtvWQ1e+yjyALLcm0v8Y RJuLBWgzIRAgLy2HhiQVx0E= X-Received: by 2002:a17:907:7e8e:b0:741:362a:9678 with SMTP id qb14-20020a1709077e8e00b00741362a9678mr18875131ejc.499.1662047053287; Thu, 01 Sep 2022 08:44:13 -0700 (PDT) Received: from localhost.localdomain (host-87-1-103-238.retail.telecomitalia.it. [87.1.103.238]) by smtp.gmail.com with ESMTPSA id g6-20020a170906198600b0073dc6def190sm8576682ejd.158.2022.09.01.08.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 08:44:11 -0700 (PDT) From: "Fabio M. De Francesco" To: Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Michal Simek , Ira Weiny , "Venkataramanan, Anirudh" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: "Fabio M. De Francesco" Subject: [PATCH 0/2] misc/xilinx_sdfec: Replace kmap() with kmap_local_page() Date: Thu, 1 Sep 2022 17:44:06 +0200 Message-Id: <20220901154408.23984-1-fmdefrancesco@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This short series is aimed at replacing kmap() with kmap_local_page() in misc/xilinx_sdfec. This task is accomplished in patch 2/2. Instead patch 1/2 unmaps the pages which are currently mapped in a loop with kmap() but which are never unmapped with kunmap(). Cc: "Venkataramanan, Anirudh" Suggested-by: Ira Weiny Signed-off-by: Fabio M. De Francesco Fabio M. De Francesco (2): misc/xilinx_sdfec: Call kunmap() on pages mapped with kmap() misc/xilinx_sdfec: Replace kmap() with kmap_local_page() drivers/misc/xilinx_sdfec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.37.2