Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4845319ybv; Wed, 26 Feb 2020 04:06:25 -0800 (PST) X-Google-Smtp-Source: APXvYqx68jg6qREthQv/ffizGV8foMkkYr+pAiWURcevEkh77ykHyLrVzA6S72TlVyMcIOKrbhpA X-Received: by 2002:a05:6830:114f:: with SMTP id x15mr2627367otq.291.1582718784997; Wed, 26 Feb 2020 04:06:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582718784; cv=none; d=google.com; s=arc-20160816; b=xfTpUR4yyLmNTBUhb7/PXygSeZyBthsdf5T2KZTyZrAXvkQ28sEQIL92xhTRiAmcW2 wDbrYqz+6Iu9ziSpPBHb6KYqXMhBlDkW+SXhU8PuhenxxZvxb+kcMI11KLpHtX+Ya17S nocaPvuVn1MDpQHGN0IybNHd67m3ro0ggkZIga7Ay0dmvFUSxzlsKtOPuQDCjNpvU3zx BCM0x5baVGfuqn+HETg4P1QsVwOVL+taZ4T9BksWiUTLTQHbsLJMArQNy80jS9ORD1/s 546wENYATUObkqRIpGp2ski5V+TMNQLOQVfe1gt9FOMqRyayfXZYnbbs+1GYkN/4xv0X Zneg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=iBDRtJqj8+RLwsXxk1q4sBZWsYibq9STHtiaZIrsCtU=; b=mNvuPRoi6reIqnic8idG19i4blmyDKytcLyi3OfTqxaRYtIZlFEEdFocUiHtwYIR3U S7rRyQDVCySDEQuJ/jw/C+AfIw4tmiyLjmySfQ/oRlXv1ajiPripN3NjcF5x7ZqjyyDN JMRQ+skRlzHPiMpdsOxqw30tve830fRGeyJ2pETb3bR8xdASfOe9SY4CdJgjVV7gD7Cg sxNpbqmI0T7ug7zvUJAlUP5oLt5PqMGuDs+tSXwtKMFUffZhlS29wRquEqmxHrNT1dYO +JHiRIr0E62AU3GYFjwg0ZRvGS2m0vSP9zCIL+5c3xKpJvlqic4VJuIUAmKXsLzjGVek iVNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=EBCfj8g9; 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 f5si1143445otp.129.2020.02.26.04.06.12; Wed, 26 Feb 2020 04:06: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=@c-s.fr header.s=mail header.b=EBCfj8g9; 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 S1726891AbgBZMEk (ORCPT + 99 others); Wed, 26 Feb 2020 07:04:40 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:33768 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726682AbgBZMEj (ORCPT ); Wed, 26 Feb 2020 07:04:39 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 48SDxc4p9rz9txW1; Wed, 26 Feb 2020 13:04:36 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=EBCfj8g9; dkim-adsp=pass; dkim-atps=neutral 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 nDphmj0PYDWa; Wed, 26 Feb 2020 13:04:36 +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 48SDxc3Y7cz9txVB; Wed, 26 Feb 2020 13:04:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1582718676; bh=iBDRtJqj8+RLwsXxk1q4sBZWsYibq9STHtiaZIrsCtU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=EBCfj8g9ufMcIT4ZxPebcV0g3e6XcAaolPUUeOeqW/yxxKiLGcaPVw6IpPU/+y6cf cJ9JdkH/qMfJG05Fcc9il87lfraXy3f97IX2TpXyIBUZr/UNsqHjBs7QZapc4DjLwe rM9XWNOIIUuw+J097cF6p21X6CBD94jw8TyES8Ks= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id BCF8D8B844; Wed, 26 Feb 2020 13:04:37 +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 n5azio8iaWTP; Wed, 26 Feb 2020 13:04:37 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id F2C3D8B776; Wed, 26 Feb 2020 13:04:36 +0100 (CET) Subject: Re: [RFC PATCH v2 04/12] powerpc/ptrace: split out VSX related functions. To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , mikey@neuling.org Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <920fe735d5f3dd882331b36a895bb756bd415fe7.1561735587.git.christophe.leroy@c-s.fr> <875zfw1cmo.fsf@mpe.ellerman.id.au> From: Christophe Leroy Message-ID: <34ecb581-d7e7-c5f3-8f5e-9de91e435cea@c-s.fr> Date: Wed, 26 Feb 2020 13:04:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <875zfw1cmo.fsf@mpe.ellerman.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 24/02/2020 à 11:51, Michael Ellerman a écrit : > Christophe Leroy writes: >> diff --git a/arch/powerpc/kernel/ptrace/ptrace-novsx.c b/arch/powerpc/kernel/ptrace/ptrace-novsx.c >> new file mode 100644 >> index 000000000000..55fbbb4aa9d7 >> --- /dev/null >> +++ b/arch/powerpc/kernel/ptrace/ptrace-novsx.c >> @@ -0,0 +1,83 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> + >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> + >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include > > I suspect we probably don't need all those headers anymore. But I guess > we'll clean them up in future, as it's very tedious work to trim the list. Ok, I did it. > >> + >> +#include > > It's preferable to use: > > #include "ptrace-decl.h" > Ok, done. Christophe