Message ID | 20190419094754.24667-10-yamada.masahiro@socionext.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1809852jan; Fri, 19 Apr 2019 02:51:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6J8v3iISRvtg5xru1ebdQvB93F/0dCVa1bClB3s97YxK8JT1EJX+vbDvu7BQ+c0cn+0QE X-Received: by 2002:a17:902:b717:: with SMTP id d23mr2814422pls.260.1555667518040; Fri, 19 Apr 2019 02:51:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555667518; cv=none; d=google.com; s=arc-20160816; b=Vw61cCq0VgKdE8knBs6T7SFc+SetnkwHVTsc5W5yXvTJsAzK/NHWxCF1oUB5M1USJa Co6x3wKyulMXxEzEgqDoj+ePz+L2+tQNxq26kcV2tpqU34vrIhG4dSRWxXRW8U+oepw+ PnvH9myPObkTBs7dXdGN110FwV5A1zcyPGec9XwOwbOwaHYOLLybq6TEjWoMFDKlxx0k QiUxyFn1NOSm4FKcu1pmppK+ApvyH10v1hImVRUUBD0Gvd5Io5T8ESjlVkayfPRkx+Br 6oLHwH2/3WAgb7glAFB0bzh4jowEAqA+UH/OYuULz4oQzawgWOry40goOGV8XYMZNe2j zJrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:dkim-filter:dkim-signature; bh=OYho5Vci0uG8k+QIXoOt+ITWJLeVs2PkQFvkRWuiOfk=; b=dxv8J1duhu2BahtPsc3ha9aXelI6H0ZIimD4/Z4KUvaaksb9faZUAFiqMVVisyiEVG 7/69mk0eJcwUw2HJu0gOWFkiS9ILSmv4hsfTRgTKR7D5OxkLlS6zQcyUpazXC1qTHfvZ FwCP8dB4ZdSYWwa7Ez05qOjH9xP6pRLPPYrSwq2Cg8kbus6RGf2eZh8in8NGSfkj0T0w HATH/p49xRU2BYt1+cE0o0NRLAAt9UHXN0kQJIcck0YxW2Gim7FhQJVrNV8xXkjoR/48 ygJ5jOGn5ek2+EgvNX4uHqNElu+F+awrLw8bxOPT6O5CI5LqFDn9odu0v3bHLrw/aei4 ywkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=Cod4pufH; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=jiH6HICA; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" Return-Path: <linux-mtd-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id f13si5593893pfh.37.2019.04.19.02.51.57 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Apr 2019 02:51:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=Cod4pufH; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=jiH6HICA; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=OYho5Vci0uG8k+QIXoOt+ITWJLeVs2PkQFvkRWuiOfk=; b=Cod4pufHWI/LPUY4V31oosyRDB cLtFXm/tFLDM0gtlRot19A8Wrte45usen4vMCYGL2aj8mPbvfvVxvvjI9Iuhn9qRw9iRenA92gLFu b+4mx2PETtw8POA/fCxr23p9vphhVQ3hHNrnqfRTbNNyD8mhmGEpWnFi2mqxxAjaG7w43Q9M+ecQG hQrYrRu1S8Lk0oE61+euojKvoJs6v0CsDxh7VLuWMnnnrrEXZsGdrK4YP2SQPwAqcL+JObRfaRyDZ Pij6MNACXpNjEZWUNbEw46383DnZl5ldnLqQ9ia+SY5i/jth92fTkMooEeetfaB3kff2SjyNkcmSp X21fNZ1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHQBV-00031Y-B7; Fri, 19 Apr 2019 09:51:53 +0000 Received: from conuserg-08.nifty.com ([210.131.2.75]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hHQ8a-0006aG-93; Fri, 19 Apr 2019 09:48:58 +0000 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x3J9mDiU012304; Fri, 19 Apr 2019 18:48:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x3J9mDiU012304 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1555667307; bh=ZmcBGqsNIopkSvb/z9Yz7Nb+RmV19Ubtd5G31RF7cjs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jiH6HICApN78Kk5hFdRE9UlFB3DbHyO32Exybcj2tFMz2jpLTLwgX2JIw8K1qWK4T E1O0Ew8v+k/nfXa5VI4SNERYU2iuWyUszoCaY8TIGwtXn/On+OQ6Cf6HlcF4EZFBOu QDInHPQIydJH4bbzuu6Xa9Ps+zAFaqOuDnY00oHB3JgAOWUEXovFVa0xxzWMI/qUqh 9sOeDdWNiIdD62ji12XR1RvY2JL7XWAKfttdTlSoHNIoaNkVqvDLCzimUvF2iPf2Z9 j2/vL15IZ64QIadnS1igjZWzEXPL/nGG8jrU+NfUOpmpPCXsyZoz4Ce0wDf84uAPVx cNXO0eCfrYgCg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: Andrew Morton <akpm@linux-foundation.org>, linux-arch <linux-arch@vger.kernel.org> Subject: [PATCH v2 09/11] powerpc/mm/radix: mark __radix__flush_tlb_range_psize() as __always_inline Date: Fri, 19 Apr 2019 18:47:52 +0900 Message-Id: <20190419094754.24667-10-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190419094754.24667-1-yamada.masahiro@socionext.com> References: <20190419094754.24667-1-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190419_024852_732258_9B37A686 X-CRM114-Status: UNSURE ( 8.04 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [210.131.2.75 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -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 X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Christophe Leroy <christophe.leroy@c-s.fr>, linux-s390@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, x86@kernel.org, Heiko Carstens <heiko.carstens@de.ibm.com>, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada <yamada.masahiro@socionext.com>, Ingo Molnar <mingo@redhat.com>, linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org |
Series |
compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING
|
expand
|
diff --git a/arch/powerpc/mm/tlb-radix.c b/arch/powerpc/mm/tlb-radix.c index 6a23b9ebd2a1..a2b2848f0ae3 100644 --- a/arch/powerpc/mm/tlb-radix.c +++ b/arch/powerpc/mm/tlb-radix.c @@ -928,7 +928,7 @@ void radix__tlb_flush(struct mmu_gather *tlb) tlb->need_flush_all = 0; } -static inline void __radix__flush_tlb_range_psize(struct mm_struct *mm, +static __always_inline void __radix__flush_tlb_range_psize(struct mm_struct *mm, unsigned long start, unsigned long end, int psize, bool also_pwc) {
This prepares to move CONFIG_OPTIMIZE_INLINING from x86 to a common place. We need to eliminate potential issues beforehand. If it is enabled for powerpc, the following error is reported: arch/powerpc/mm/tlb-radix.c: In function '__radix__flush_tlb_range_psize': arch/powerpc/mm/tlb-radix.c:104:2: error: asm operand 3 probably doesn't match constraints [-Werror] asm volatile(PPC_TLBIEL(%0, %4, %3, %2, %1) ^~~ arch/powerpc/mm/tlb-radix.c:104:2: error: impossible constraint in 'asm' Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- Changes in v2: - split into a separate patch arch/powerpc/mm/tlb-radix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/