Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2301211ybv; Mon, 24 Feb 2020 02:55:22 -0800 (PST) X-Google-Smtp-Source: APXvYqx3HeCeuooAF0JQqewhn6O3YdGygIE6ti77h5+bRUYHsdZI0KQSksu+DYCQLnFFD6YHitv2 X-Received: by 2002:a9d:66d1:: with SMTP id t17mr41277303otm.233.1582541721985; Mon, 24 Feb 2020 02:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582541721; cv=none; d=google.com; s=arc-20160816; b=Infr/CHKUBgWF9f0SJiyBFb5GUjNVqCeM9008I/a7reitp6c/JNO69IgqKNZS8VMrQ orPpzON5UNcP5Hax7ipVOufaWxK7yX1IblHTdM03iU0VMOwg82lm0wtjpGrbqB74YsLY 6CXAELZeygT1WlUxsAvdvI8zcZJt11WNUwb5YbtyaZBZ+LS4cTCBWcWRruKfqwE2oBkN ZsstjMOusWMCzRIcVNeMi4mxKtwnJ+W1/4UZqvVf2Tj5NfkAAwd/6X4k3m9CixxoGx2N 3KYwxqfkcEJ4U7r0M1B5nALNYkS6Djdz55gXcKzQYVYmlDh6SVwhuCKFYXc/PNpec85n 2smg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=k0BqyixTJoNetYX9suYhia4s7kCRC36DzGPHDhr3mo4=; b=mUqVupoVUDSk5xN4wrENvwjrAloId7gsoc9oDalpfd3JXl4a/x+90HFrJ8il24COLm kOxuJxk5vnUFaY11aM53IuzkcwQgLrwe0KJOXTEAnv3DR+JXodK4rF/JuJ0z0Ljpk42A bgbA1F9tGbdNjSxUd1j3SZ8LpOB1Z5FT5L9yUVtMnDKpk/PUYRNwu+nyLuiRKum1bDTW OZZ9mvC2pg2Oe7vZQCi5Shb6QjCvT2lx942M6FBUjmn3LAKYkH8FNyMATFQ2KqNv+Ln3 UU6gqjxQWH52OSdjwEnYL9zCXc7iaduNJioPPrW6ewWL/bYOLTdgOHVXMiRpmk2ioJ7Q RVLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=sBs1S4Fp; 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 s11si6092042otd.245.2020.02.24.02.55.08; Mon, 24 Feb 2020 02:55:21 -0800 (PST) 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; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=sBs1S4Fp; 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 S1727295AbgBXKyB (ORCPT + 99 others); Mon, 24 Feb 2020 05:54:01 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:41695 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbgBXKyB (ORCPT ); Mon, 24 Feb 2020 05:54:01 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 48QzT36SWzz9sP7; Mon, 24 Feb 2020 21:53:59 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1582541640; bh=k0BqyixTJoNetYX9suYhia4s7kCRC36DzGPHDhr3mo4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=sBs1S4FpxMEXaNkDN3F4/M+KmkKLxfXttli0RCvqhL7K0iXzNvYnQOLL8hpByXajJ elAusZETQUdwRNVzw/k2kVnAsF3uY5Sezbek1ohH3yEgcD5fSzgQHMRPxzpx1itG9W 0WnCODRM2k/kHQs/waNxhsn/FBVaFepVm+oZB4561D4dI5IaArWHx3wMynGgdSDSrR tF8MtVXpq8amG8WM9LJG4w9E+FeQiNHYU8HJp+gZuhXs6BFYL+hYRIfqnjDwJ+2dFi dQx4daUIcze42+VBgCFd0n4iIHcjLo0cCH1J5fc0WDsJuihqZdLoIbBtveQJ8QOQsU Ali8Himjep26Q== From: Michael Ellerman To: Christophe Leroy , Michael Neuling Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 00/12] Reduce ifdef mess in ptrace In-Reply-To: <5b5d8f61-c9aa-1afd-6001-44a17f00c1a6@c-s.fr> References: <7b86733f81c7e15d81ab14b98c8998011ed54880.camel@neuling.org> <5b5d8f61-c9aa-1afd-6001-44a17f00c1a6@c-s.fr> Date: Mon, 24 Feb 2020 21:54:00 +1100 Message-ID: <8736b01cjb.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > Le 24/02/2020 =C3=A0 03:15, Michael Neuling a =C3=A9crit=C2=A0: >> Christophe, >>> Le 28/06/2019 =C3=A0 17:47, Christophe Leroy a =C3=A9crit : >>>> The purpose of this series is to reduce the amount of #ifdefs >>>> in ptrace.c >>> >>> Any feedback on this series which aims at fixing the issue you opened at >>> https://github.com/linuxppc/issues/issues/128 ? >>=20 >> Yeah, sorry my bad. You did all the hard work and I ignored it. >>=20 >> I like the approach and is a long the lines I was thinking. Putting it i= n a >> ptrace subdir, splitting out adv_debug_regs, TM, SPE, Alitivec, VSX. >> ppc_gethwdinfo() looks a lot nicer now too (that was some of the worst o= f it). >>=20 >> I've not gone through it with a fine tooth comb though. There is (rightl= y) a lot >> of code moved around which could have introduced some issues. >>=20 >> It applies on v5.2 but are you planning on updating it to a newer base? >>=20 > > As you noticed there is a lot of code moved around, and rebasing=20 > produces a lot of conflicts. So I didn't want to spend hours to rebase=20 > and rebase without being sure it was the right approach. > > Now that I got a positive feedback I'll consider rebasing it, hopping=20 > that Michael will pick it up. I would love to. cheers