From patchwork Mon Aug 3 13:18:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pingfan Liu X-Patchwork-Id: 11698067 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B2024722 for ; Mon, 3 Aug 2020 13:20:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A80720578 for ; Mon, 3 Aug 2020 13:20:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C9g01dLp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Lxfs2eXx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A80720578 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: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=Bpr+j6fC5apcuTxD3vdjD4Ivcu+Pg3zKR6soym7U3rQ=; b=C9g01dLp1Lr7DRtCYqF6BbT+zj 8xILf3FT0Yv8IRYi/O87dP4rlFXIbWIY5dI4F4G//LPkc4q9mYix1f6zKR3if8p9miw8sIg0p7U5c 59W71is38jFKuTEiNj1evexTxkDXc7aGZIuqKmSG/nT+Asa293b/yOvD3lDHiCcVipu+tHqxQ4NiU NJI4qaz3aELAg1Kdp2bnJ1PyMH79va//Umt5sWaebjCAtLHGB4pL2wzRkeI7CHd9PrgebSa25FESt +Kyi/sKf+1aVA68AWFLd0sZr4LD3UHzgzdJS7AWZrXq4SLJL+x6g0/Xq4tD3mcOOqpwfG04LZbzEl o3LqlooQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2aMm-0002j5-K6; Mon, 03 Aug 2020 13:19:00 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2aMl-0002iW-90 for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2020 13:18:59 +0000 Received: by mail-pg1-x542.google.com with SMTP id o5so1803509pgb.2 for ; Mon, 03 Aug 2020 06:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=fHQgy3ttYPLfz8U1hSVo4xOWKPheRzfn1rihfruWCGg=; b=Lxfs2eXxE8NMoELW3j9B0Oq0TuF+K7UWnmiSYrKRBYVoUbsjUCZERnbuM5bK3Lz2tK jqlg5RQOmq9L0a3OSJcQn+1KPnxK78hVonfVsrvengeX0YBoEQkRpl+npwDgsfif6rUY kTLWSLFCAKPkSDrt0K5nk0OcBbZ9U7VoqjvwdIhqMQNtYWEHSYrlDrk1ADNabd3dRG7Z fhlo62NoGBw6WOqc/hNxOed8fp57OsQFcR9GHfxyhLXIpRJ1/NaXeMU+ialsArLJSjrU BvnvDNvPJ5AFdlPMzDmxkLSRz4dmiPEh8/zfbEWG9ooaImlnFRQ4ehcBzmPUStYAKIfs aL5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fHQgy3ttYPLfz8U1hSVo4xOWKPheRzfn1rihfruWCGg=; b=k9RASNPIKAJdIniOBrJySr+4ja4BEL1rI2ISeG/vZqya1Odf0/Hz2L3O3Zvg50maYe phTpCJTvPNzbiQh3cz/kgpEq/h7Ajd9iRN1sqeSzKpPQqmi5YqW6a6iFAl6IlUx4NX67 wpxbftQsLv/aQMDeXGJOkOz4EZ5mo2kClSQQFm/uSmVBKzG6ckea5/mQMjLjSkAYJhIN LKbnzmfLD2sai1656AUgbqTiao/z2xt7o+dKvsFYIdlG3VIllmvZky5+/Zk9ux2PD5BC eFtbL3LwYLd5iuzKEMflOJoOCtsYU3s+j29uN6LQWdgsxJZfUGzT7TaHAZ+aoA/Y5bc/ KBCw== X-Gm-Message-State: AOAM5319AfbPB23w4wAOMFzVpLS1huA4jI6ZCkSAZYvgjzDAKxs3CugL IiHYY6LLoh3VY/39hAJBSJQ9NBg= X-Google-Smtp-Source: ABdhPJw+vcNwTe6yJmdFkmX56/Lf+abCVvkrMGD+9L21jtRVu0LVpNfElteAsb+aCrcmht8R+KH+YA== X-Received: by 2002:aa7:9386:: with SMTP id t6mr16530704pfe.220.1596460736987; Mon, 03 Aug 2020 06:18:56 -0700 (PDT) Received: from mylaptop.redhat.com ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id o134sm72467pfg.200.2020.08.03.06.18.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2020 06:18:56 -0700 (PDT) From: Pingfan Liu To: linux-arm-kernel@lists.infradead.org Subject: [PATCHv2] arm64/fixmap: make notes of fixed_addresses more precisely Date: Mon, 3 Aug 2020 21:18:40 +0800 Message-Id: <1596460720-19243-1-git-send-email-kernelfans@gmail.com> X-Mailer: git-send-email 2.7.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200803_091859_368573_3EF47E66 X-CRM114-Status: GOOD ( 11.76 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:542 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [kernelfans[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , Will Deacon , Pingfan Liu MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org These 'compile-time allocated' memory buffers can occupy more than one page and each enum increment is page-sized. So improve the note about it. Signed-off-by: Pingfan Liu Cc: Catalin Marinas Cc: Will Deacon To: linux-arm-kernel@lists.infradead.org --- arch/arm64/include/asm/fixmap.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include/asm/fixmap.h index f987b8a..4335800 100644 --- a/arch/arm64/include/asm/fixmap.h +++ b/arch/arm64/include/asm/fixmap.h @@ -28,10 +28,9 @@ * compile time, but to set the physical address only * in the boot process. * - * These 'compile-time allocated' memory buffers are - * page-sized. Use set_fixmap(idx,phys) to associate - * physical memory with fixmap indices. - * + * Each enum increment in these 'compile-time allocated' + * memory buffers is page-sized. Use set_fixmap(idx,phys) + * to associate physical memory with a fixmap index. */ enum fixed_addresses { FIX_HOLE,