Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1904284ybg; Thu, 30 Jul 2020 05:53:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ3hL/8mNjC5F5vz1rraUQB1T3rv70tIWA0/g8xnSwNvdT+c5M/HGaARNV3Z34P9vJ/n8S X-Received: by 2002:a17:906:8595:: with SMTP id v21mr2522990ejx.333.1596113626034; Thu, 30 Jul 2020 05:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596113626; cv=none; d=google.com; s=arc-20160816; b=xq8ND52I0zCNN1qYCvhcz2nC/BRaiS+dBZ8wu79cyqZ0VM/E+3kVRPH83vQEqFgMaR EZTsFUcIR6RP4lmsJgBqylBIWKUiiQVr9bq/e+RyoA0UO5K/3hTaCw2TI2Tc3xg7JMWe CYi6xAMZNhkpLTrJA88YNXxWvYJapzvD+2UZIYZEfclmDXXvb/+E1zMKOGI1nHyiq0Cs RfO8OiCCplsRmQhfQg7cdt8aasO7eCzT3gXMbxhDWhvbdWCt749MvIB6N1GsmCYoMJ4q QZst5FP4+WkQjB6ZQa3Qk0F+ndOL6VACPhEZtG+5TIvvm0MyymZYBOrhi5uwBRQnSsVk WFkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:references :in-reply-to:cc:to:from; bh=M5olmuI3nQUv8PnY7I3OsahjjVP9N+o+sKYOkLRRJ8U=; b=F16MsHObFFZrseLP8H48jWT/ewp+/tyXPS30x+4T/CFHxK4nga/Podc4RqgtVQUTAB B9WVg78QppK0VOjQ3qbSiEiPOPywHfOWvUMJ0MUch8i7IonEpaJa3jpkt43HoIlXpOfP cnvoNN15pTh7YXS+HMZKE20bh8VbCLERm0VumyQM0vpyWkPSlwuCNuYmtCyjMsFyE0GD 8VfXfCxgTAPG6umgX2XMcsaH0cj3Q/0o2J2O7oLP2acdYWG/Q6p+ugA/2LJuAw975w6d 0oAJdVg2aKRO4mvPMA4KKdUuIIxFtCTa2iVIcQob9H0tYTku9jgMpI480735CGNCP72m Br7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf17si3192132edb.488.2020.07.30.05.53.18; Thu, 30 Jul 2020 05:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728211AbgG3Mu2 (ORCPT + 99 others); Thu, 30 Jul 2020 08:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbgG3Mu1 (ORCPT ); Thu, 30 Jul 2020 08:50:27 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4524C061794 for ; Thu, 30 Jul 2020 05:50:27 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4BHVcw3ljxz9sR4; Thu, 30 Jul 2020 22:50:24 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , linuxppc-dev@ozlabs.org Cc: dja@axtens.net, linux-kernel@vger.kernel.org In-Reply-To: <20200724092528.1578671-1-mpe@ellerman.id.au> References: <20200724092528.1578671-1-mpe@ellerman.id.au> Subject: Re: [PATCH v2 1/5] selftests/powerpc: Add test of stack expansion logic Message-Id: <159611327263.1601380.4813279952363405661.b4-ty@ellerman.id.au> Date: Thu, 30 Jul 2020 22:50:24 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 24 Jul 2020 19:25:24 +1000, Michael Ellerman wrote: > We have custom stack expansion checks that it turns out are extremely > badly tested and contain bugs, surprise. So add some tests that > exercise the code and capture the current boundary conditions. > > The signal test currently fails on 64-bit kernels because the 2048 > byte allowance for the signal frame is too small, we will fix that in > a subsequent patch. Applied to powerpc/next. [1/5] selftests/powerpc: Add test of stack expansion logic https://git.kernel.org/powerpc/c/c9938a9dac95be7650218cdd8e9d1f882e7b5691 [2/5] powerpc: Allow 4224 bytes of stack expansion for the signal frame https://git.kernel.org/powerpc/c/63dee5df43a31f3844efabc58972f0a206ca4534 [3/5] selftests/powerpc: Update the stack expansion test https://git.kernel.org/powerpc/c/9ee571d84bf8cfdd587a1acbf3490ca90fc40c9d [4/5] powerpc/mm: Remove custom stack expansion checking https://git.kernel.org/powerpc/c/773b3e53df5b84e73bf64998e4019f50a6662ad1 [5/5] selftests/powerpc: Remove powerpc special cases from stack expansion test https://git.kernel.org/powerpc/c/73da08f6966b81feb429af4fb3229da4cf21d6d9 cheers