Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4360850ioa; Wed, 27 Apr 2022 01:56:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPCTStkGg5M8DJYlgsaKD5U6Duc/u8ZWvk7NIl0ObCyqRO38nari+K2NFR7ygu2EE38e9q X-Received: by 2002:a17:903:1248:b0:151:9708:d586 with SMTP id u8-20020a170903124800b001519708d586mr27630072plh.15.1651049796330; Wed, 27 Apr 2022 01:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651049796; cv=none; d=google.com; s=arc-20160816; b=wuPAaofU1MW8qOGspXiE1Kgga5eifb1jfpPxWiKhSOgz7Iu/rKLCsw/QQZAiQdLKPI w06RoMvrwQx7PbgB/DAzdrNr/ApZ2pDmBGcSwqCUMvoov1VnwpUHf/tw8QDyOXPmWV/l BkH/z+uQNiHhGvECAFfwq+yNYcRdoY+VgTO9SQY721kcwtRDwMPlDslC8xPkGONo54yB tN16+bguZuOL2zN42wZs6wMcslvqd+7wEh7slSmlytYAcTp9SzR7gV+lcqTgKTs2vyVe W36Ys8TQGhcxLFgWgFzShpYGxf5lWkhcEaG3w7Rq7frNn2I2aVJUut1GaODngad/oXVd a45w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=r99AhTnEz4GfSTqRew1GTVvU9GFn9CFFcClDc+O6SJo=; b=nA6d/IDJF0wmwhK45cj3dcr9UduPpb3fl0wGtH2SN/m22FOdEH/gx0evjceEklf1oG Z7HQARYOgWrnj0uTBHihuRdZyzpjQvgm2v8kLWPteuwb+6kX4Q5uOxX5T1+YlJ5Pu+1P ByIh9buSIct39khqk+Um1xu2MEaU2Bena2pMxXH7Q3BXnKtsfAJF943QPxmI7dhRaOgy F7XPRpHQXMwH8ltmyxrfniOrpfn7d3xZIOaOQuD6O8z5F1EOhdNJPEKXrCnA9De8h0iP TuuHl6b6EJ/xVYrhEwO0EnSzV12VjsQPoDW6TwWcSekK5ikwTDw3HrTKqn/lMX9Zj/am M/Nw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lr7-20020a17090b4b8700b001c635828b95si5000377pjb.100.2022.04.27.01.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 01:56:36 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E69301C1BBA; Wed, 27 Apr 2022 01:53:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352837AbiDZQKW (ORCPT + 99 others); Tue, 26 Apr 2022 12:10:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352823AbiDZQKT (ORCPT ); Tue, 26 Apr 2022 12:10:19 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BCE4C68F91 for ; Tue, 26 Apr 2022 09:07:11 -0700 (PDT) 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 88BB323A; Tue, 26 Apr 2022 09:07:11 -0700 (PDT) Received: from lakrids (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6A4EF3F73B; Tue, 26 Apr 2022 09:07:10 -0700 (PDT) Date: Tue, 26 Apr 2022 17:07:08 +0100 From: Mark Rutland To: Alexander Popov Cc: Kees Cook , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, akpm@linux-foundation.org, catalin.marinas@arm.com, luto@kernel.org, will@kernel.org Subject: Re: [PATCH 0/8] stackleak: fixes and rework Message-ID: References: <20220425115603.781311-1-mark.rutland@arm.com> <202204251551.0CFE01DF4@keescook> <91238500-61a6-1e2e-1dc2-931c0a23cca8@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91238500-61a6-1e2e-1dc2-931c0a23cca8@linux.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 26, 2022 at 06:51:04PM +0300, Alexander Popov wrote: > On 26.04.2022 01:54, Kees Cook wrote: > > On Mon, Apr 25, 2022 at 12:55:55PM +0100, Mark Rutland wrote: > > > This series reworks the stackleak code. The first patch fixes some > > > latent issues on arm64, and the subsequent patches improve the code to > > > improve clarity and permit better code generation. > > > > This looks nice; thanks! I'll put this through build testing and get it > > applied shortly... > > > > > While the improvement is small, I think the improvement to clarity and > > > code generation is a win regardless. > > > > Agreed. I also want to manually inspect the resulting memory just to > > make sure things didn't accidentally regress. There's also an LKDTM test > > for basic functionality. > > Hi Mark and Kees! > > Glad to see this patch series. > > I've looked at it briefly. Mark, I see your questions in the patches that I > can answer. > > Please give me some time, I'm going to work on your patch series next week. > I'll return with review and testing. Sure thing, thanks! FWIW, I spotted a couple of issues in my patches today while testing, and if you're happy I can post a v2 later this week with those fixed, so you don't need to waste time with those. Thanks, Mark.