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 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 0D9C3C54EE9 for ; Sat, 17 Sep 2022 12:48:27 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=QkxWs/Ar4firT5aNKoPbx3aGCmpcaCen6R+wvE2N26o=; b=o14//i/au8QP1v UFmIJqeUM6z/q8HT3YE2pxH5nKbEGnl3+tfP0NgLosUzDBa2BifrVKALnS5tNdsTzUcCFZ8ONR2cQ gQLcPxXnnJWxLnT3LaKEc/AepdLJGZiSoD8H/blGUyPXqZdEFkE0lFAo7rhonRJAy6kGmoKIrfM5g QI/gyWfe5riT6PXEnmE5zqCcscfFuGmp0qsMKDRm09EaNf/6BSQUXqHuyyLg5r/OrCwQZ4QuCrCaT L37UgwegSmJVDqU0jcpfsYveVptK1vRGZ5qizME9Qk/BKe2ttv1Hnt+he5DM3TXlzSMChF8p4dWGq cMWj5HvYsdlnURZ8xBhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZXDk-005sOx-Re; Sat, 17 Sep 2022 12:46:56 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZXDg-005sM0-VM for linux-arm-kernel@lists.infradead.org; Sat, 17 Sep 2022 12:46:54 +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 C29E6153B; Sat, 17 Sep 2022 05:46:53 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.17.93]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B85643F71A; Sat, 17 Sep 2022 05:46:44 -0700 (PDT) Date: Sat, 17 Sep 2022 13:46:35 +0100 From: Mark Rutland To: Catalin Marinas Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , ardb@kernel.org, joey.gouly@arm.com, maz@kernel.org, james.morse@arm.com Subject: Re: [PATCH v2 0/8] arm64: alternatives: improvements Message-ID: References: <20220912162210.3626215-1-mark.rutland@arm.com> <166335025268.1744272.4179216542809756286.b4-ty@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <166335025268.1744272.4179216542809756286.b4-ty@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220917_054653_093433_9C55BC3A X-CRM114-Status: GOOD ( 14.18 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Sep 16, 2022 at 06:46:20PM +0100, Catalin Marinas wrote: > On Mon, 12 Sep 2022 17:22:02 +0100, Mark Rutland wrote: > > This series reworks the arm64 alternatives code. The major aim is to > > make the patching code more consistent and robust, and as a benefit we > > can also make the kernel Image smaller. > > > > Largely, the series makes two structural changes: > > > > 1) Replacing cpucap static branches with equivalent alternatives. > > > > [...] > > Applied to arm64 (for-next/alternatives), thanks! > > There's a slight conflict in the apply_alternatives_vdso() function > introduced by Joey but I fixed it up locally. The ARM64_NPATCHABLE > disappeared with Mark's reworking. Sorry about that, and thanks for the fixup! IIUC that just needed a s/ARM64_NPATCHABLE/ARM64_NCAPS/, and the resulting code in commit ebbb0b0b37249038 looks right to me. Thanks, Mark. > [1/8] arm64: cpufeature: make cpus_have_cap() noinstr-safe > https://git.kernel.org/arm64/c/92b4b5619f12 > [2/8] arm64: alternatives: kvm: prepare for cap changes > https://git.kernel.org/arm64/c/34bbfdfb146b > [3/8] arm64: alternatives: proton-pack: prepare for cap changes > https://git.kernel.org/arm64/c/747ad8d55764 > [4/8] arm64: alternatives: hoist print out of __apply_alternatives() > https://git.kernel.org/arm64/c/c5ba03260c7a > [5/8] arm64: alternatives: make alt_region const > https://git.kernel.org/arm64/c/b723edf3a12a > [6/8] arm64: alternatives: have callbacks take a cap > https://git.kernel.org/arm64/c/4c0bd995d73e > [7/8] arm64: alternatives: add alternative_has_feature_*() > https://git.kernel.org/arm64/c/21fb26bfb01f > [8/8] arm64: alternatives: add shared NOP callback > https://git.kernel.org/arm64/c/d926079f17bf > > -- > Catalin > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel