Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3205523ybx; Fri, 8 Nov 2019 15:50:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzmvxzZkPD7lMcN2Qsyg71P3ajat5bpvT2BZMOPmOSxbTsEbJlTjeBABVAxBQn9QULi3un2 X-Received: by 2002:a50:870c:: with SMTP id i12mr13195275edb.16.1573257022875; Fri, 08 Nov 2019 15:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573257022; cv=none; d=google.com; s=arc-20160816; b=b12o4uzUeI3bGAHY0MwUs4FlB5++3w+86QybkVTu6PjoVeMm66Q5vdzZ1KJXe3oru9 fMcFBz1laDAobcXLyD0JujADg9+b0gr9E2fSosmygc/Mm4PQdJ7sp/eigMHVcrp5xlE1 xOlZuFtVq5hukfa8I9v8aQuO/7F+sF5LyZPhDl0kBrsnr3Ajv2AXtv+vMyrpralUwEH+ KBnMbh6yWKmKIYK71wENuuKExTOevJJNzOtAWBResS72Lx3GA5OFCJDfrnGFuP4m8bbM SNmzMHBuI0w+ea8HwXwXDo+S6XHectZI8ygOCOmip+r6QD73QRcqoR+aExNbRgK9ZocX mZEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=XMVjsfRFCMgyyIBo6SJuyhGa3vmCkYAAcBk1J2DsBuY=; b=af/2GkFwPiVxLYOuYM7eLyoGa/Pfbx6zjXkcQ0m8zdvmWCND+ff7AEKiKYPB/il5x5 DB0qFNuLG/W//SxXfwf69XNtqFpHJEocU3ehtaRD0yDXX+k6d7CzoD7gYluXsJA8VGmb eh3vb19UKOtG62+S/o6tR9rwZ53ZEtjyhVmV7dZTHh9AHgZpkSRGPIwfis6Mppqf3Nor dd9y44aIpz5LaPusu33OcAmJWk7djjK2YrOX8ZE1rrXgsCYDaI3An0KuFVy+O4Jb0Xe4 QAKc0wxwIsM68ZqWiNAQ/Bk8Be0XQGkPwPgdy3XLqN70TI+T3X1odnep8YEQiA4upse+ lhKA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y38si5971555edb.87.2019.11.08.15.49.59; Fri, 08 Nov 2019 15:50:22 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727256AbfKHXs5 (ORCPT + 99 others); Fri, 8 Nov 2019 18:48:57 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:42544 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726231AbfKHXs5 (ORCPT ); Fri, 8 Nov 2019 18:48:57 -0500 Received: by mail-ot1-f66.google.com with SMTP id b16so6687474otk.9 for ; Fri, 08 Nov 2019 15:48:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XMVjsfRFCMgyyIBo6SJuyhGa3vmCkYAAcBk1J2DsBuY=; b=YOypcbEulcKRFNEeo74kAHj0uxzm2uvzEGicVDq789QS7jwPDKYLe6iejRXiN5RS14 AS3tmmfmlkd6JibhHlSHzABdbSZwptFAF8AkImt13JGhC20vzYaEs9NDCz4oZPvEHT3L fvTsomaJVL/+D9gigwM5OCTRykq4/j+Sb6J6aigwNxV7tRcq27L071+Cc3IBu1/LNIY6 43+H29zQx7JbxXl7m12GLqF6XZDUxiiAvHZD6QFtm6PfaUwLkumW/O1IhFPxcAg0XDa8 P/BCODwIeN5VyLN4SpXyNID83UQhDHO6+ISQ4lQHS8l64fltjYVX1yTRU+mGwMXVRmML NDFQ== X-Gm-Message-State: APjAAAUVc3fLXcAqbH5bML+mSYOjSuuxxBdQoZB8Ye1NAXkp21etU3/4 0GOID/cAD/pL4wNnW2dkafBbqgmW9CE= X-Received: by 2002:a9d:458a:: with SMTP id x10mr10711707ote.365.1573256935749; Fri, 08 Nov 2019 15:48:55 -0800 (PST) Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com. [209.85.210.46]) by smtp.gmail.com with ESMTPSA id y14sm2342622otk.20.2019.11.08.15.48.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Nov 2019 15:48:55 -0800 (PST) Received: by mail-ot1-f46.google.com with SMTP id 94so6677695oty.8 for ; Fri, 08 Nov 2019 15:48:54 -0800 (PST) X-Received: by 2002:a05:6830:17c2:: with SMTP id p2mr11400428ota.74.1573256934498; Fri, 08 Nov 2019 15:48:54 -0800 (PST) MIME-Version: 1.0 References: <20191108130123.6839-1-linux@rasmusvillemoes.dk> <20191108130123.6839-48-linux@rasmusvillemoes.dk> In-Reply-To: <20191108130123.6839-48-linux@rasmusvillemoes.dk> From: Li Yang Date: Fri, 8 Nov 2019 17:48:43 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 47/47] soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE To: Rasmus Villemoes Cc: Qiang Zhao , Christophe Leroy , linuxppc-dev , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , lkml , Scott Wood Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 8, 2019 at 7:05 AM Rasmus Villemoes wrote: > > There are also ARM and ARM64 based SOCs with a QUICC Engine, and the > core QE code as well as net/wan/fsl_ucc_hdlc and tty/serial/ucc_uart > has now been modified to not rely on ppcisms. > > So extend the architectures that can select QUICC_ENGINE, and add the > rather modest requirements of OF && HAS_IOMEM. > > The core code as well as the ucc_uart driver has been tested on an > LS1021A (arm), and it has also been tested that the QE code still > works on an mpc8309 (ppc). > > Signed-off-by: Rasmus Villemoes > --- > drivers/soc/fsl/qe/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/soc/fsl/qe/Kconfig b/drivers/soc/fsl/qe/Kconfig > index cfa4b2939992..f1974f811572 100644 > --- a/drivers/soc/fsl/qe/Kconfig > +++ b/drivers/soc/fsl/qe/Kconfig > @@ -5,7 +5,8 @@ > > config QUICC_ENGINE > bool "QUICC Engine (QE) framework support" > - depends on FSL_SOC && PPC32 > + depends on OF && HAS_IOMEM > + depends on PPC32 || ARM || ARM64 || COMPILE_TEST Can you also add PPC64? It is also used on some PPC64 platforms (QorIQ T series). > select GENERIC_ALLOCATOR > select CRC32 > help > -- > 2.23.0 >