Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6874882ybc; Thu, 28 Nov 2019 07:00:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwNQP48VsLBWdRRgXLcm1bzUVf5ayNMlrKibBu5brc1GuwLu2PNk7i0ebM9eH2Bz2Tb1Ug1 X-Received: by 2002:a17:906:f245:: with SMTP id gy5mr11795335ejb.225.1574953227296; Thu, 28 Nov 2019 07:00:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574953227; cv=none; d=google.com; s=arc-20160816; b=fvt6sxDTxPZ1V8UAxCVMWFIkt4m/8avvjIFsaH6Q0HHkOWRHrMQIowAwd15QlPnhUc owq454HafUntsCfbH4P1O5Cc5Ldc4rUsRd1hP2bRE1JTa85ZTTMcm7CE0eqCWBKk8ZMH ynBlidpenbq3h+nb2ytxW0iJaKtZlGQ6CbfETcQHDZCrK3+9LCZEdFqTjFHZ+hNDcaPh PGU4A9OwyaazyWYR6SZF3bRNgb2TfUsQMUsWX/IHteV2tCY1YwMSQ3yNBztSKnL8akZg GUGlC2oQK75v+GCC+9Lknivri3soEMWPadCidZ3q20EqIpxLdn66IhIIsv9ASRWsWwos evHw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ApKAjcbgk3TFllS4KVlYulsx0IXhA9sg3keVA4kG7Kg=; b=r0hfa8vVmraURA7vE1/6t8u5Cc078YiQGKXXoFAyV0dqj52FrVgYspfV/ScEcEwjWc GTRL90UIYrcmzN/59GaRFO7QKvvc4ib046dG8yyK4FuUAud8x+A/r4N9JiB1pBhL2suj b1ZLfwKX3PYq24P2M/0HHSDjzXje14tc+Yp0GprH/dpqKrusRSy7Nkp7iHC89ExRxHFL Xxqym2CoSRMD/V53mkR4WZuG0yqyndDRoH+4eJ0dLx06cRrW3n2b3n2vfF/H8GGsCFlU 0hj9xG71xHREibiCEuCMALMvapOpQwH16EOO03uYTIcwaJ+UlBR1NYzGFTnRsyOVeIrU 19nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=Cu0pEa3D; 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 f18si3356084edq.302.2019.11.28.07.00.02; Thu, 28 Nov 2019 07:00:27 -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=@rasmusvillemoes.dk header.s=google header.b=Cu0pEa3D; 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 S1727667AbfK1O6P (ORCPT + 99 others); Thu, 28 Nov 2019 09:58:15 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:46230 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727642AbfK1O6L (ORCPT ); Thu, 28 Nov 2019 09:58:11 -0500 Received: by mail-lf1-f65.google.com with SMTP id a17so20229357lfi.13 for ; Thu, 28 Nov 2019 06:58:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ApKAjcbgk3TFllS4KVlYulsx0IXhA9sg3keVA4kG7Kg=; b=Cu0pEa3DGH8Jq4DqyrRVVK+6bn2ungANZKmPnurdLgGvoCh7zh9ab2EKVG+2ifp9f9 rF8n9op4NSmEteqozoQv7Ma5TFukZVpXhMk//1OFvFLfiiCXPFq6mIrgqPDMuC4k0F+i tPXfxNLVhzbivJVrd/o409oUcl06X8HPclCC8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ApKAjcbgk3TFllS4KVlYulsx0IXhA9sg3keVA4kG7Kg=; b=VIE+GrRvBhHTgPiaj9e75PLwJXDe4PwMiUTdeT8BuGCoxCdspdglHhuxZr4wAPpG6x MfDQRnGSr0vwZrVEdU27GAzev1cdN5UeufoGipqMTR8V+WYCjOLhtFhiMHnVQ6LLVxJB TFzqNY2CeQfG49CwhFeDbsEb1nQhYlzdx2CJPvbv/KKhJdl56xztZH2tu/+yzU7k/2ZB PBnclaZJPmDFoqGKCMiwf9RP3CzlnvQdCMThGXvn7xnYH+yRhJF/r8v5AziG6lB83HFz CdhMrnKR8X8bsHaEptc7miDSZTxmmshYXVsn4hK/ZhVNo/IwlhB4h2/JNzQbA55zIW7D 5WCQ== X-Gm-Message-State: APjAAAXOnqTuWpF3N1w0G/y9QnsR8jUtfDrCCsHObpz3xYQKxitxTIYL oSHzlmy1OjZR0mcPWqbOXK2XIA== X-Received: by 2002:ac2:4adc:: with SMTP id m28mr8797486lfp.26.1574953087899; Thu, 28 Nov 2019 06:58:07 -0800 (PST) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id u2sm2456803lfl.18.2019.11.28.06.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 06:58:07 -0800 (PST) From: Rasmus Villemoes To: Qiang Zhao , Li Yang , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , Timur Tabi , Rasmus Villemoes Subject: [PATCH v6 49/49] soc: fsl: qe: remove PPC32 dependency from CONFIG_QUICC_ENGINE Date: Thu, 28 Nov 2019 15:55:54 +0100 Message-Id: <20191128145554.1297-50-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191128145554.1297-1-linux@rasmusvillemoes.dk> References: <20191128145554.1297-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are also PPC64, 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). Qiang Zhao has tested that the QE-HDLC code that gets enabled with this works on ARM64. Reviewed-by: Timur Tabi 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..357c5800b112 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 PPC || ARM || ARM64 || COMPILE_TEST select GENERIC_ALLOCATOR select CRC32 help -- 2.23.0