Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2706083ybc; Mon, 25 Nov 2019 02:50:19 -0800 (PST) X-Google-Smtp-Source: APXvYqybisC2/YIMHfQDFAAELcJTYCEr0gM7hCvtCRXpZe/whvtDb4DbH00DSyX4Q2qC5RYVMD8p X-Received: by 2002:a17:906:c40d:: with SMTP id u13mr11361233ejz.178.1574679019505; Mon, 25 Nov 2019 02:50:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574679019; cv=none; d=google.com; s=arc-20160816; b=L63KMQvTe6qGE0NVbYFuqAfaWR04WUh0KJ8butbw0WtqhqgUPenysXiqFdRY5o3OI7 TmzMFtSCrDCGkXUz3opwzAF2EnDidHLWIZX/V+c9CjQywhbAWCUXTMo4cp8d8FwYk7JA guf7QM5vilfnlKApLFDS9zL1QlqLg2uyQ5J0K9NH+ISNHUaBTMohRtS8Fnt1AFQX7Mfk HkJYF1BZ7S2FD5R3/Ex4X5kHtDcF0CFCnZx+d/iCyCLylPq/0Hyv6vdgod/vFmEBXGPt +k4ZtWA+E5he30pSW7Fg9X8Q15vksE39yX3+BLtoXB4ntFAOZEuA+N7P6fZd5fyaKMIT Gl+A== 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:cc:from:to :in-reply-to; bh=WGgj44MeVDwfxm1Cfu3eqDnUy281v7WwaT+UkaekOrc=; b=fZ4WlNXj3yhJO49+3v0GDUz6oZrJvydhd+1gqt2Lftst4paQtLpArKLFCzw4FwRgc4 T84m/DAjmIKc8qeM1NBJ6BPAZRzbmEwzPiRLI9e7dDz1xl1YMGQ4uyf2tnG4CO3qE3TV iw7XO+QnazikWseigIHFq2SkeXSAJhiLX7G31eRUd+x1FIgmPJxeou0AJCTddZ0jQfwa udFyU4l9aH/3GZ3AYFT2AzcW4APJt1pGBZIrV/r6p5Wt4YA2lh+khtBC+RipJ9TKsS7o r6Yykk8aihVvQLxXZuQMevmQdBNd5FEedN72+e85alpoTY+6LacLtWBuxOnPPrchlZUV eVVQ== ARC-Authentication-Results: i=1; mx.google.com; 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 a16si4443269ejb.55.2019.11.25.02.49.56; Mon, 25 Nov 2019 02:50:19 -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; 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 S1727601AbfKYKrf (ORCPT + 99 others); Mon, 25 Nov 2019 05:47:35 -0500 Received: from ozlabs.org ([203.11.71.1]:54269 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727803AbfKYKrC (ORCPT ); Mon, 25 Nov 2019 05:47:02 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 47M3d05Phdz9sR3; Mon, 25 Nov 2019 21:47:00 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 44448640dd0df98891c5ea4695d89a4972cb4c1f In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , segher@kernel.crashing.org, npiggin@gmail.com From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] powerpc: permanently include 8xx registers in reg.h Message-Id: <47M3d05Phdz9sR3@ozlabs.org> Date: Mon, 25 Nov 2019 21:47:00 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-08-29 at 08:45:12 UTC, Christophe Leroy wrote: > Most 8xx registers have specific names, so just include > reg_8xx.h all the time in reg.h in order to have them defined > even when CONFIG_PPC_8xx is not selected. This will avoid > the need for #ifdefs in C code. > > Guard SPRN_ICTRL in an #ifdef CONFIG_PPC_8xx as this register > has same name but different meaning and different spr number as > another register in the mpc7450. > > Signed-off-by: Christophe Leroy Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/44448640dd0df98891c5ea4695d89a4972cb4c1f cheers