From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEA4FC3A5A9 for ; Mon, 4 May 2020 14:47:57 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9063E2078C for ; Mon, 4 May 2020 14:47:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rC/8lQl2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9063E2078C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S/VNBTdRGEvbNLXbZjvLCMQ68vFyuR9zif1T5pg8FyE=; b=rC/8lQl2sFnOir 5HTSAj6mu3/RCARXWul9zhG7JR/VH+LmtC2ch9Ht5nldH+b+QrtcXJCP0qlIaFcJb6uH+Ncl/cRiJ LIIlIINq5+3bHhPEPYseuVSxH5tepln/bh1heAYCiBCgWzS4+3la4n9V3jPL/dPe7vcmV/OhyurzG A19izqdsEH7VT1Pk6X6iS565+bDsxUGJRohoZZLhdf734Anlx1q1D8trnA7bejmOP7nJC4Fe4kcMJ as9Bl7sq818KSFUUa1F46zoge/Kn6+lcjLJSFYKXwyq3I/ysfWamDo7gCMn/OEjDa9O5QJAbCIIAw ZCc2x0Vqf7jClULwdPCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVcNw-00032H-OL; Mon, 04 May 2020 14:47:56 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVcNu-00030u-Gr for linux-arm-kernel@lists.infradead.org; Mon, 04 May 2020 14:47:55 +0000 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 881211FB; Mon, 4 May 2020 07:47:52 -0700 (PDT) Received: from gaia (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 018C53F305; Mon, 4 May 2020 07:47:50 -0700 (PDT) Date: Mon, 4 May 2020 15:47:44 +0100 From: Catalin Marinas To: Dave Martin Subject: Re: [PATCH v3 01/23] arm64: alternative: Allow alternative_insn to always issue the first instruction Message-ID: <20200504144743.GB2884@gaia> References: <20200421142603.3894-1-catalin.marinas@arm.com> <20200421142603.3894-2-catalin.marinas@arm.com> <20200427165737.GD15808@arm.com> <20200428114354.GE3868@gaia> <20200429102600.GA30377@arm.com> <20200429140425.GC10651@gaia> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200429140425.GC10651@gaia> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200504_074754_605602_9D822E3E X-CRM114-Status: GOOD ( 14.35 ) 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: linux-arch@vger.kernel.org, Richard Earnshaw , Will Deacon , Szabolcs Nagy , Andrey Konovalov , Kevin Brodsky , linux-mm@kvack.org, Vincenzo Frascino , Peter Collingbourne , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 29, 2020 at 03:04:25PM +0100, Catalin Marinas wrote: > From 73f3869cb68fab1505d7b400ae8a39a19c5fc9e9 Mon Sep 17 00:00:00 2001 > From: Catalin Marinas > Date: Wed, 27 Nov 2019 09:07:30 +0000 > Subject: [PATCH] arm64: alternative: Always emit the first instruction in > ALTERNATIVE blocks > > Currently with the ALTERNATIVE macro or alternative_insn, the cfg (or > enable) arguments disable the entire asm block. Change the macros to > only omit the alternative block on !IS_ENABLED(cfg). In addition, remove > the cfg arguments to to ALTERNATIVE in those few calls where it is still > passed. There is no change to the resulting kernel image with defconfig. > > alternative_insn's enable argument will be used in a subsequent patch > and we are keeping the ALTERNATIVE C macro arguments in line with the > asm version. > > Signed-off-by: Catalin Marinas > Cc: Will Deacon I no longer need this patch as I moved the page tag zeroing from clear_page to the actual mte.S file (called via set_pte_at()). So don't bother reviewing this. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel