Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp250725imm; Thu, 26 Jul 2018 02:57:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcVcMRQIZ4BnFhSwtAmVDOj0kVR4S3d5c6t2hCKbuKOHzMIBlZLNKXNKminQxzwSnoUCuFV X-Received: by 2002:a63:f616:: with SMTP id m22-v6mr1235811pgh.293.1532599026728; Thu, 26 Jul 2018 02:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532599026; cv=none; d=google.com; s=arc-20160816; b=WBtDa476OBNaZOeqW8kCkiGkXlYcmFmgFttQPTtfR67ZsCGFBsaJTBFVCMbOmXxdV6 wKAqzFxQAV/8Vf8xbk89j/9uDQ8oTekgLdTOaic/ShG8CvVvUsiYb5TAw9u5hggG6yw2 corecckMq8yEAav5aolm2NuklolLqAU99dEJLEIZLvVutbtf0zWV/VtoGAxCDKr+zsOg gLEz2yCXxanJo2bmg5Ky2lmVcqGHTZA1/LZEzOfNoC0iprUvXywGnsuOu7MwFkTVWEds PUVTq0dksAgyq3txm0YeatUSxcOmpe4x9OgQrnvJPGo0eBLc1//Za3hU+3XPqI1/+u67 KabA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=MWrzNJTWIXtwT2IWVNKGc3SURVskCLrHjbHn8mfS9aQ=; b=tFyCzOVVg9wh3O39XeyEkKc+SFVA+lv1vfSBNK3Z0jhhAIVoJXNyMvLk017dXzB8nA AbG3I9fKJIqhMoRVT3YgtiNxGIDgGuepbpRRWBY+PJaxw6Ojg/vE0f3erQcUcQG+JTSt Xtft38ZN4spQFbZmnBzbex9ZmVxB76aE0zZpDp6LJMXqN/mxusVZHokTl4t2J2H44tBu LK6/jZ8wOoMQEfI8tv+DdnWRjTQpu9PDqi+ZK57t3z49TxMK+DrNItxAptQIEuyGjgtn L++VST/T5z3B1i6GhgVjf9R2SrddkSWq8ZJc2RVjOyIXW5egVPoRbYyXmSGafTzhW0IW jMRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x190-v6si961616pgb.158.2018.07.26.02.56.52; Thu, 26 Jul 2018 02:57:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729191AbeGZLLz (ORCPT + 99 others); Thu, 26 Jul 2018 07:11:55 -0400 Received: from foss.arm.com ([217.140.101.70]:51714 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728956AbeGZLLy (ORCPT ); Thu, 26 Jul 2018 07:11:54 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B530380D; Thu, 26 Jul 2018 02:55:49 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 43CA03F575; Thu, 26 Jul 2018 02:55:49 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id EACE21AE13AE; Thu, 26 Jul 2018 10:55:48 +0100 (BST) Date: Thu, 26 Jul 2018 10:55:48 +0100 From: Will Deacon To: Laura Abbott Cc: Alexander Popov , Kees Cook , Mark Rutland , Ard Biesheuvel , kernel-hardening@lists.openwall.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Catalin Marinas , james.morse@arm.com Subject: Re: [PATCHv3 0/2] Stackleak for arm64 Message-ID: <20180726095548.GB28088@arm.com> References: <1531341400-12077-1-git-send-email-alex.popov@linux.com> <20180720214154.2940-1-labbott@redhat.com> <20180724163807.GE25888@arm.com> <20180725114954.GD30289@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laura, On Wed, Jul 25, 2018 at 03:05:58PM -0700, Laura Abbott wrote: > On 07/25/2018 04:49 AM, Will Deacon wrote: > >arch/arm64/kernel/sdei.c: At top level: > >arch/arm64/kernel/sdei.c:127:6: error: conflicting types for ‘_on_sdei_stack’ > > bool _on_sdei_stack(unsigned long sp, > > ^~~~~~~~~~~~~~ > >In file included from ./include/linux/arm_sdei.h:14:0, > > from arch/arm64/kernel/sdei.c:5: > >./arch/arm64/include/asm/sdei.h:45:6: note: previous declaration of ‘_on_sdei_stack’ was here > > bool _on_sdei_stack(unsigned long sp, struct stack_info *info); > > ^~~~~~~~~~~~~~ > >arch/arm64/kernel/sdei.c: In function ‘_on_sdei_stack’: > >arch/arm64/kernel/sdei.c:136:33: error: ‘info’ undeclared (first use in this function); did you mean ‘int’? > > if (on_sdei_critical_stack(sp, info)) > > ^~~~ > > int > >arch/arm64/kernel/sdei.c:131:21: warning: unused variable ‘high’ [-Wunused-variable] > > unsigned long low, high; > > ^~~~ > >arch/arm64/kernel/sdei.c:131:16: warning: unused variable ‘low’ [-Wunused-variable] > > unsigned long low, high; > > ^~~ > >make[1]: *** [arch/arm64/kernel/sdei.o] Error 1 > >make[1]: *** Waiting for unfinished jobs.... > >make: *** [arch/arm64/kernel] Error 2 > > > > Ugh this was a failure that I missed folding in, sorry about that That's ok, thanks for the quick fixup. I'll fold it in and push this out later on. Cheers, Will