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=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT 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 58B36C43381 for ; Mon, 25 Feb 2019 11:55:35 +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 25A742147C for ; Mon, 25 Feb 2019 11:55:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oMLOZG5W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 25A742147C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org 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=nnj/KOWvfZrgRrfJH/v8wQZ49ZGOcbamKL8TtN/CGl8=; b=oMLOZG5Wu7LvEC EFNTPDko7DR4F8Nerpl9maCNnJ3NHRd2xZcfSZCHMgxQUZf6v3Ej0vCKzIrg57hYLHacCJZB/CgPK HM4HJBQmIyHLWoMH6WmWwQydL43ANNhtxB3A6mYxcLyrSpwSK8eHj+LdZZmTbwP1UBztPEPlUGUry JMgddGtHWbXTZVSvNDsXBZ+mKJY5D9Cb4DUwb+U+YZlcj2nStEqhV/GFp2g9IHhceXcSWy+od5DF8 ziSVb/94tcykv65UGqpb2SvrkeX6U9F12TmwhSObVxXe5euqn23oqg2Cf52V91q97OHyDXxepSWSu CSnqzDzcgD4p1wQB8bzA==; 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 1gyEr1-0005XE-CA; Mon, 25 Feb 2019 11:55:27 +0000 Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gyEqx-0005X1-CF; Mon, 25 Feb 2019 11:55:24 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id B13EB2026BE91; Mon, 25 Feb 2019 12:55:21 +0100 (CET) Date: Mon, 25 Feb 2019 12:55:21 +0100 From: Peter Zijlstra To: Julien Thierry Subject: Re: [RFC][PATCH] objtool: STAC/CLAC validation Message-ID: <20190225115521.GC32494@hirez.programming.kicks-ass.net> References: <9e037d68-75e7-1beb-0c9c-33a7ffeced1b@zytor.com> <20190219090409.GW32494@hirez.programming.kicks-ass.net> <20190219124808.GG8501@fuggles.cambridge.arm.com> <20190222222635.GK14054@worktop.programming.kicks-ass.net> <99aab8c6-0000-b06b-71c0-bd36e0d39768@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <99aab8c6-0000-b06b-71c0-bd36e0d39768@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Josh Poimboeuf , Denys Vlasenko , Brian Gerst , Catalin Marinas , valentin.schneider@arm.com, Will Deacon , Linux List Kernel Mailing , Andy Lutomirski , Ingo Molnar , James Morse , Andrew Lutomirski , "H. Peter Anvin" , Borislav Petkov , Thomas Gleixner , Linus Torvalds , Ingo Molnar , "linux-alpha@vger.kernel.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 Mon, Feb 25, 2019 at 08:33:35AM +0000, Julien Thierry wrote: > > It has an AC_SAFE(func) annotation which allows marking specific > > functions as safe to call. The patch includes 2 instances which were > > required to make arch/x86 'build': > I haven't looked at all the details. But could the annotation be called > UACCESS_SAFE() (and corresponding naming in the objtool checks)? Since > this is not an x86 only issue and the AC flags only exists for x86. Sure that works. Lemme sed the patches. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel