Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1195190ybh; Thu, 16 Jul 2020 06:00:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzAj+FgJ+Dq2e5imAyXtF5fTmfkxXI6KmdHmCVW6BKvsRcij/0+tHoUCPyiOM3Avs0mqAj X-Received: by 2002:a50:f187:: with SMTP id x7mr4165137edl.59.1594904413105; Thu, 16 Jul 2020 06:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594904413; cv=none; d=google.com; s=arc-20160816; b=jVDnbMozkPIDQeXujUB6lKlZTPBwn2p3SUV9tSvKOn2xwNILgKtvVnRiiHhQHKs4bT p7PSLm+CSdkGjXIAsVcqEnXRw153RAIb+OdoUYyFCN2MxQYsQNxSDmKfbZvMvGkcLhZT tK1v4afhiILWIqIJDltNxLftSnjmWcC5/MohSHVFCIYKShddz0gkiOUukejwbJ4Mdvgl LKqFgfzyiGsoGK8Icv/K9nWaRFp6ESq9lF2Vnuh9i93PNV3r9F98kg1JmPe0dJo/ah7Y OqWod6eMb7JY5FBbOAAkpcLHDEqzIpUyE/F+ihMwDjEZkK8LTix9jd2PbiRc+aVAvItx FQbw== 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=OuXo6H5HyJHvVZ3Sg56ZuQ41n04bKm9Ak6yAqAvRQ+o=; b=sSt1KaHknFdo5pc2dpX58LhdLTwnsSH0J6hY6+zdbK30b6seXHnB638a2ZoWd5EiV6 9FYtUNrfBv9MLMVM31FGpo3ZpEQp0BMOgxydOfF1kJc23gWCNBg0NR74+p8FcEOAhdst FDlfNZKpZCPSFDO1rtKpn3/pT/wPVhs1bg94VQFfNyhtlQmWr0G51guP95Vr4awX68Er v9qRRa5NmH/Kl1PahUYOxnIJfC8x5TiikKZtZ95DL7KuPrHTMF8CzMXhaaZyA7vAx/Tb 9KJz+A+Qa9NMfQn9iLRrdwj7TpoaU+I5NUCARoU80y1pFg57GEktzDu7x9A/jFfzmbZR N3Sg== 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 l2si3523928edk.332.2020.07.16.05.59.50; Thu, 16 Jul 2020 06:00:13 -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 S1728831AbgGPM4n (ORCPT + 99 others); Thu, 16 Jul 2020 08:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728605AbgGPMz4 (ORCPT ); Thu, 16 Jul 2020 08:55:56 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A72E9C061755 for ; Thu, 16 Jul 2020 05:55:56 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4B6vPc4zFDz9sTh; Thu, 16 Jul 2020 22:55:48 +1000 (AEST) From: Michael Ellerman To: npiggin@gmail.com, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <173de3b659fa3a5f126a0eb170522cccd909950f.1594125164.git.christophe.leroy@csgroup.eu> References: <173de3b659fa3a5f126a0eb170522cccd909950f.1594125164.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH 1/2] powerpc/signal_32: Remove !FULL_REGS() special handling in PPC64 save_general_regs() Message-Id: <159490400779.3805857.2201061957365361885.b4-ty@ellerman.id.au> Date: Thu, 16 Jul 2020 22:55:48 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Jul 2020 12:33:35 +0000 (UTC), Christophe Leroy wrote: > Since commit ("1bd79336a426 powerpc: Fix various > syscall/signal/swapcontext bugs"), getting save_general_regs() called > without FULL_REGS() is very unlikely and generates a warning. > > The 32-bit version of save_general_regs() doesn't take care of it > at all and copies all registers anyway since that commit. > > [...] Applied to powerpc/next. [1/2] powerpc/signal_32: Remove !FULL_REGS() special handling in PPC64 save_general_regs() https://git.kernel.org/powerpc/c/667e3c413ecf20371692fd2dc37e06dc14d0b140 [2/2] powerpc/signal_32: Simplify loop in PPC64 save_general_regs() https://git.kernel.org/powerpc/c/020c4831e01264f8b62af6ca9e669b7c51881a56 cheers