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=-8.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 48143C2D0A3 for ; Tue, 3 Nov 2020 12:42:48 +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 D42A522243 for ; Tue, 3 Nov 2020 12:42:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hc34j0OU"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="R85uLBrH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D42A522243 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.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=k0pPkT0A3myR9WLpp4iZc6MAudCrFQZbTagK3SkdPug=; b=hc34j0OUGrXXNBIiU7aK6iMUa l0KvBeokCtRxOFrT0jrKQFaKroi5GXT5EUfCbsl9yE7ljYPp+8zB0emAJOClhb/Os/wLd4yBZGTc6 i1YaZtoCK/awDEvSt90XkHTo25KyGLbKUKMi8H5bZaSyDeok2Vg6xH9jbJWbnXuDtbI71USaOjCD1 5mvJCH/cyl/pLuhYQoAVCYp2ZSRucvTHgWz0Lu2KhclcKFjaCdjqnIRBwf0PmmjBYNUUI0Vs+cKyI m797PPa+gHqALcNdGVz9Y6OpphoZe4WVhkLMgOWFKFbgMP7rcSd0wVgRJdBGC6nrVsm/9nqc2fuUJ rY/p57WIQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZvdg-0005XN-0D; Tue, 03 Nov 2020 12:42:16 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZvdZ-0005VE-Kd for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 12:42:13 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DBB8322243; Tue, 3 Nov 2020 12:42:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604407328; bh=geT2lk0I6IvtZVpOwXI/mI5+Q3wfBHW8Zw/X/UI9yvA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R85uLBrHbN+t0WZuzZ/muGfRwWeRxyQgppyZJ6lZ7s8PsBhZIMhLeeTdg+6wo8SSO JgrI2gHgNxhsGkGQTQpDertO4pK/esqe/IFa+jNB6nkdQR8+p42kUrsG2nYT196kSq 6OFhYq5rraKliZ5Azr33DlpYPEYPpgMWHdincncY= Date: Tue, 3 Nov 2020 12:42:03 +0000 From: Will Deacon To: Mark Rutland Subject: Re: [PATCH v4 1/4] arm64: alternatives: Split up alternative.h Message-ID: <20201103124202.GA5219@willie-the-truck> References: <20201103121721.5166-1-will@kernel.org> <20201103121721.5166-2-will@kernel.org> <20201103124018.GA40454@C02TD0UTHF1T.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201103124018.GA40454@C02TD0UTHF1T.local> 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-20201103_074212_440553_32091886 X-CRM114-Status: GOOD ( 18.97 ) 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: Kees Cook , Peter Zijlstra , Catalin Marinas , Masahiro Yamada , linux-kernel@vger.kernel.org, Sami Tolvanen , 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 03, 2020 at 12:40:18PM +0000, Mark Rutland wrote: > On Tue, Nov 03, 2020 at 12:17:18PM +0000, Will Deacon wrote: > > asm/alternative.h contains both the macros needed to use alternatives, > > as well the type definitions and function prototypes for applying them. > > > > Split the header in two, so that alternatives can be used from core > > header files such as linux/compiler.h without the risk of circular > > includes > > > > Acked-by: Peter Zijlstra (Intel) > > Signed-off-by: Will Deacon > > As a heads-up, the uaccess macro move will end up conflicting with my > uaccess rework. I have a patch moving those out into asm/asm-uaccess.h: > > https://lore.kernel.org/r/20201006144642.12195-9-mark.rutland@arm.com > > .... would you be happy to take that as a prep patch? Then in this > patch you'd need to modify asm/asm-uaccess.h to include > asm/alternative-macros.h. Sure thing, I'll do that when I put the branch together. > That wasy I can also carry that prep patch in the uaccess series, and > avoid nasty merge conflicts, and it seems to make sense to factor out > the uaccess bits anyway since they're not common alternative macros. > > The patch itself looks fine to me, so FWIW (ideally with the above): > > Acked-by: Mark Ryutland Cheers! Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel