Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp616307pxb; Thu, 19 Nov 2020 09:24:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyU1a+SN+LCIjnogFF5M5GsTNunk1UEpjjTEk0+jaLDW5OyHTwh4B/uaoIDKBqCbKNFDO72 X-Received: by 2002:a17:906:fa98:: with SMTP id lt24mr8450391ejb.52.1605806644370; Thu, 19 Nov 2020 09:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605806644; cv=none; d=google.com; s=arc-20160816; b=C0kqyliZ7zVai8dGguhxZhhGlUHRQF/k09uThF7hXI1fs1OAzfR+bt7W5Har+t8Yxp oJ+CWHIQhKPWlrAXLAaBB1DW3Mc0KDJgZ5wgKKwn0E/Z9C8BIOP+2yFUwJPTz5Pn0xRv SFMDe98dtZqlyfkaVk9eRp1spoEQnILdnGXzEU+eHGGwsemZtMF5xoCVoFW+Q+oQH2vZ Gt0lwbEECZ5Mm/dEhsJl6xM/RwDXK3fBiAnpWvkA0x2lZlkZAn8r6TlQYnKSSq7PFM/a /VsSYu9Fo3gbtZcC0HZTDL/RYz6EvosuXMFP8qq4T2xMuIboMP4Lh2l9XCkCklpQhi+f UqHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=bMEiKvNap80vgPS/qhYfR7WCTfuPXOKJZZhylSBsf3k=; b=NqmIxUzvWAevD/kSNPEyCTk+THZHQEMY02yBqH/m658o4cEXqb4ZkHuhaQ0nVmALvA 52y0SfEu7OijS0UewE1wzo4UwinVzmEY4A0UgfB6QqkN+jqPLQr/XQLBoNq4kDDHQtc/ +n7+/V+f9D5TEYjIIypDYQx36GrUhFGKExqyPatUg5ENClUlULuKEueJ5lwI1X1lBDy5 UhfaXxDuu0CFuE+K1J2GKiWba7CT9vFG7SYULK7nWZpw6rRdil5Y2QkXeqpWc1SpGGw4 zIAMwy4ihhP9qSzmaJ6bWONYJ1hsFhQeFs5yRQ+3ls6ymeQoVXIQS2xoylTCSX7TQYOr ZURQ== 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 o91si198076eda.564.2020.11.19.09.23.40; Thu, 19 Nov 2020 09:24:04 -0800 (PST) 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 S1727874AbgKSRUO (ORCPT + 99 others); Thu, 19 Nov 2020 12:20:14 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:12009 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726474AbgKSRUN (ORCPT ); Thu, 19 Nov 2020 12:20:13 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4CcRJT281zzB09Zn; Thu, 19 Nov 2020 18:20:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id GDt-2XrDYLSx; Thu, 19 Nov 2020 18:20:09 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4CcRJT1FSgzB09Zm; Thu, 19 Nov 2020 18:20:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 32DD88B80C; Thu, 19 Nov 2020 18:20:09 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 7odlXmS1EpR6; Thu, 19 Nov 2020 18:20:09 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 906408B78A; Thu, 19 Nov 2020 18:20:02 +0100 (CET) Subject: Re: [PATCH v3 0/2] powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too To: Oleg Nesterov , Benjamin Herrenschmidt , Madhavan Srinivasan , Michael Ellerman , Paul Mackerras Cc: Al Viro , "Aneesh Kumar K.V" , Christophe Leroy , Jan Kratochvil , Nicholas Piggin , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20201119160154.GA5183@redhat.com> From: Christophe Leroy Message-ID: Date: Thu, 19 Nov 2020 18:19:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <20201119160154.GA5183@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 19/11/2020 à 17:01, Oleg Nesterov a écrit : > Can we finally fix this problem? ;) > > My previous attempt was ignored, see That doesn't seems right. Michael made some suggestion it seems, can you respond to it ? > > https://lore.kernel.org/lkml/20190917121256.GA8659@redhat.com/ > > Now that gpr_get() was changed to use membuf API we can make a simpler fix. > > Sorry, uncompiled/untested, I don't have a ppc machine. I compiled with ppc64_defconfig, that seems ok. Still untested. Christophe > > Oleg. > > arch/powerpc/kernel/ptrace/ptrace-tm.c | 21 ++++++++++++--------- > arch/powerpc/kernel/ptrace/ptrace-view.c | 21 ++++++++++++--------- > include/linux/regset.h | 12 ++++++++++++ > 3 files changed, 36 insertions(+), 18 deletions(-) >