Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1911748ybv; Sun, 23 Feb 2020 18:15:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyjhqCdbAXxRtdYBkEJCdrcb4j42i6OQs5RmGeoNW0yvalQfcSk8/VjqpZiYv/oCRHB6Ztg X-Received: by 2002:aca:c514:: with SMTP id v20mr10985947oif.62.1582510524425; Sun, 23 Feb 2020 18:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582510524; cv=none; d=google.com; s=arc-20160816; b=msebzT2s+HwzjNz4xoKygH1SyURhWjP1Z8uNnA0QKGTu0dihHGI//GHQ0ZJ1QA6/Vn PgzrULHZsGlNu1l3ZGG6iD2Qd4tXhherhsjuJ7WPP/7ZZmdAReNCa1D2JCZTa8KsQ0/2 ZczTH9iuYknyT4v7oj757v2085YHLgDogSCrrXy9+npqgt97I+wPWSpKlEivjM70rlc5 W5ySFoFUx9FO2sLT98Hhp4tTew5n+lGWCINpO2fnk+ZYnGnT/dmvZifn/sVnPZr8flka t7w4ySPKDEJeU91mxs+C9Yko/Jecfyy48HcX0UBJYNn518mnzVqIqNThOGyON/fbhNmJ Wf1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=T10jB91g27CIda1DuAyao920kpjeZyWKNketNp+UJeI=; b=QmsR7WecyhpnOY/F0aPKiFFHPskuRQpLqODVuhUGNlOIiYVHLgwquWyl7XFNwJxkme z+2bu548F4/HmOyNe9F7N7tZAY2hXknG0uki+THXHJMMG59QiW8cxQZlDIhDt02Re5Hg Kg/6zYtkk+of2oMPjs0wn/mJvo+CSySeMjZ/YyGTqRbwPSNEk8ix3lP0+WC6kNgLb2lD nszhnz8b0yAOLB2T3p7V7xMHwxxs7N0Fj97EYySYvrUzpEgSCJ68TXzrOskJkE9ACqif R31nrW3hApV15iVbrWwIs9foSo0g60StE2lfrOis4T7JPnsRDWdbi2fLiqeoWmTLIQ8C Yv2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@neuling.org header.s=201811 header.b=dmEZRWbe; 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 q66si4255889oig.65.2020.02.23.18.15.12; Sun, 23 Feb 2020 18:15:24 -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=@neuling.org header.s=201811 header.b=dmEZRWbe; 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 S1727258AbgBXCPF (ORCPT + 99 others); Sun, 23 Feb 2020 21:15:05 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:56135 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727166AbgBXCPE (ORCPT ); Sun, 23 Feb 2020 21:15:04 -0500 Received: from neuling.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 48QlyG0dVfz9sNg; Mon, 24 Feb 2020 13:15:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=neuling.org; s=201811; t=1582510502; bh=T10jB91g27CIda1DuAyao920kpjeZyWKNketNp+UJeI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=dmEZRWbeumV2C1GARdwbs2sht9CYu40Ktuuh3vhIbZyTTCvxo0lOOZmlzHljCwKeM 87EK1xzoF8Y/Be60JflnKkvZk+KlbTEiQsx18N9/FWiibbbqUeO6L3PfXqNkHiBlEK XK+Hn8hFqEbbX0WOSL7v+tMPRG9NySbT0AUCdek2Bpiof/dx1ShSnUa0T7nXgJ4Fn7 yRlfNhMXtJRiSuFVz8OmG0tbliSktD6TtSxH4MiFN8YdRKv1SUgChZVlqhwBpkPVQp jbCAGolpm4PhDI6rlKeFhd+3+Sfv3KVIohaig28oEVnBs6yxGYxJx3eM8RPoXwlNXQ 3iEqX4BR21ySA== Received: by neuling.org (Postfix, from userid 1000) id 0C9B12C026F; Mon, 24 Feb 2020 13:15:02 +1100 (AEDT) Message-ID: <7b86733f81c7e15d81ab14b98c8998011ed54880.camel@neuling.org> Subject: Re: [RFC PATCH v2 00/12] Reduce ifdef mess in ptrace From: Michael Neuling To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Mon, 24 Feb 2020 13:15:01 +1100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > >=20 >=20 > Any feedback on this series which aims at fixing the issue you opened at= =20 > https://github.com/linuxppc/issues/issues/128 ? Yeah, sorry my bad. You did all the hard work and I ignored it. I like the approach and is a long the lines I was thinking. Putting it in 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 of i= t). I've not gone through it with a fine tooth comb though. There is (rightly) = a lot of code moved around which could have introduced some issues. It applies on v5.2 but are you planning on updating it to a newer base? Mikey