Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3669064ybx; Mon, 4 Nov 2019 00:39:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyJ7Ka/Wm8+HAR4Fnkimo7vGyPihqDgUDcYfhzk1C+raxDz3OqH49uxG40cE1pwFG8H75uU X-Received: by 2002:a05:6402:1a39:: with SMTP id be25mr27831790edb.78.1572856778362; Mon, 04 Nov 2019 00:39:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572856778; cv=none; d=google.com; s=arc-20160816; b=Tbh9rm8HfCqKEcqyDPuKVvZGybiRSHSQTsM6WU1xJm5cOo3hiy1AkqDrBDs7JQWpGZ L3OsPIOZnr77GIl37g7hf8cmwyvZdkt8nwaJ/vUs7meMfv6TO9YtJID7aTqNOFOnkBIp WZ5eKPeyWqfo32IEE3Pgvth12RlMOJ4IAordS6mUUhV91XblR5+7qFyj6MS2cb97Oq64 F/xLB7tT9n0G1648iyqV5xmFok1D6dGcceZ6bd27hhx2T+rytKIkZdnqxdNHq9LYN/30 zu+Gdmlt9xXeHWY88BBBtzPa2ujpaheurP6JZg+aQdTntJ6YiBLtClJSwVrYa6FnfK8N Dvsw== 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=aAvLvQnBn2etU9QWbHrMgTtrty/V9iZf2pUKjOUNug8=; b=VfHuf9zr23cQ39mc31iIwqeggVkZndedFcdjbamtJCU2FxwzUcj4u9VSe9WFKF0u8D ITFMbJnthGoB7Sx0seqRdtEVCotn5Z9jNZPyr/H+jW5gjruCkLJqRJV6E628wZnlVFt+ w3CyKrd68VgWctYKISELfbpmj3NRltsD+1TVydnLdOHKO1CRuaYz/qwj/0vI6GS8Qb5M HUMYNYcv0H48tFMEwbFLSiVD1R9b3Za7O9a3jozFKc2zR3gu+cQEO5kLULXvpqfEBOtu P0+3I1qykPJANitwsnCXHc2EG6Xn5bL3jNYFIuRSmM9KhmC0PS8hiomwRo/Yl1FBWTJi O4jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=CRqPRRvM; 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 e19si512939ejb.379.2019.11.04.00.39.14; Mon, 04 Nov 2019 00:39:38 -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=CRqPRRvM; 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 S1727810AbfKDIiN (ORCPT + 99 others); Mon, 4 Nov 2019 03:38:13 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:37901 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726633AbfKDIiM (ORCPT ); Mon, 4 Nov 2019 03:38:12 -0500 Received: by mail-lf1-f68.google.com with SMTP id q28so11586679lfa.5 for ; Mon, 04 Nov 2019 00:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aAvLvQnBn2etU9QWbHrMgTtrty/V9iZf2pUKjOUNug8=; b=CRqPRRvMc4CiyGWwN0n+HhobnmdoLfjL+0AzezW7ETOIFz5sHfNHH5JNGG6YI+/403 MsQNEzWz0NSvbA0uWvsbCgqAT3tGi1qsOO0oSW4TRw1r9cIbKDUlQ9wzYhXtlrQDdRZs PV5CVnB5sUcQ4tEXqmk5O+Wt9y6sGHLcWmnV4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aAvLvQnBn2etU9QWbHrMgTtrty/V9iZf2pUKjOUNug8=; b=UkkXb6DVtBDr7auT5cLOxJ2waIq128yG7W8sFvYXRgleaVJlSU1umbrpuUnMLLidUV pTqdFp2vUoL52/zzEPKrZZ/z1BNh8oUdMXFkxNRg8jMILUT9QZla6FWOr7utJrzV/aL2 5khqTVUmsOXOwUF+hIpvdKMvr5HfiWECdpUHJs+K8ZakTgwlgtmxLaoiX3b8f5mV6RGA Sq4LakQc4xpFWv7vRqNlyPTiSLuDLLAClMJtaw4BPekccdAUmY4fvjzuE0U40K4ABpbH iVICfwRoTFSDIb576IsroiHjAl+a177q9I6u6/7dA1r+lK+oCDDWjPbSbjW7GK17OY+/ J0WA== X-Gm-Message-State: APjAAAV6HUcCvhH4U/d6jBjcKC6E89Jh/5eyuV+qTF3pGsHgcQZrbH9a /JzrLff6sOiVjiE0kPdpX2QC7A== X-Received: by 2002:ac2:549a:: with SMTP id t26mr15512173lfk.25.1572856688914; Mon, 04 Nov 2019 00:38:08 -0800 (PST) Received: from [172.16.11.28] ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id u11sm8744096lfq.54.2019.11.04.00.38.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Nov 2019 00:38:08 -0800 (PST) Subject: Re: [PATCH v3 35/36] net/wan: make FSL_UCC_HDLC explicitly depend on PPC32 To: Leo Li , Christophe Leroy , Qiang Zhao Cc: "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Scott Wood , "netdev@vger.kernel.org" References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191101124210.14510-1-linux@rasmusvillemoes.dk> <20191101124210.14510-36-linux@rasmusvillemoes.dk> <4e2ac670-2bf4-fb47-2130-c0120bcf0111@c-s.fr> From: Rasmus Villemoes Message-ID: <24ea27b6-adea-cc74-f480-b68de163f531@rasmusvillemoes.dk> Date: Mon, 4 Nov 2019 09:38:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/11/2019 23.31, Leo Li wrote: > > >> -----Original Message----- >> From: Christophe Leroy >> Sent: Friday, November 1, 2019 11:30 AM >> To: Rasmus Villemoes ; Qiang Zhao >> ; Leo Li >> Cc: linuxppc-dev@lists.ozlabs.org; linux-arm-kernel@lists.infradead.org; >> linux-kernel@vger.kernel.org; Scott Wood ; >> netdev@vger.kernel.org >> Subject: Re: [PATCH v3 35/36] net/wan: make FSL_UCC_HDLC explicitly >> depend on PPC32 >> >> >> >> Le 01/11/2019 à 13:42, Rasmus Villemoes a écrit : >>> Currently, FSL_UCC_HDLC depends on QUICC_ENGINE, which in turn >> depends >>> on PPC32. As preparation for removing the latter and thus allowing the >>> core QE code to be built for other architectures, make FSL_UCC_HDLC >>> explicitly depend on PPC32. >> >> Is that really powerpc specific ? Can't the ARM QE perform HDLC on UCC ? I think the driver would build on ARM. Whether it works I don't know. I know it does not build on 64 bit hosts (see kbuild report for v2,23/23). > No. Actually the HDLC and TDM are the major reason to integrate a QE on the ARM based Layerscape SoCs. [citation needed]. > Since Rasmus doesn't have the hardware to test this feature Qiang Zhao probably can help verify the functionality of TDM and we can drop this patch. No, this patch cannot be dropped. Please see the kbuild complaints for v2,23/23 about use of IS_ERR_VALUE on not-sizeof(long) entities. I see kbuild has complained about the same thing for v3 since apparently the same thing appears in ucc_slow.c. So I'll fix that. Moreover, as you say and know, I do not have the hardware to test it, so I'm not going to even attempt to fix up fsl_ucc_hdlc.c. If Qiang Zhao or somebody else can verify that it works just fine on ARM and fixes the allmodconfig problem(s), he/she is more than welcome to sign off on a patch that removes the CONFIG_PPC32 dependency or replaces it with something else. Rasmus