Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13840616pxu; Mon, 4 Jan 2021 06:03:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFFsYzKlNdte9Izij+JW9b0gbhtUElKHbcqghZzkY0l0VW1cIeBhMVrQ8gS7U/P0RH9VE/ X-Received: by 2002:a50:d491:: with SMTP id s17mr69655696edi.169.1609769016604; Mon, 04 Jan 2021 06:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609769016; cv=none; d=google.com; s=arc-20160816; b=07ymQafdtywxS3eFmbMHfoj/e5dF9gxo+137lnJdfFcN7ey8wtgwZN7oWqQKEzkYbp BUJ58QtZo0wLySNa7bjHMXglcc9mpt67pfuwA0FfvLHF9aY5ril4+DXwbQgonbf0pfDz Ea6iUq0nbNgR4qYVeJ9VMjtzT7LVubGHxaHlI9Uxz83DbUGrrxTmCpFilcpBKHR/XWq0 rJtP85+lqN2zxwdx4cHYf0kjXiEGA1wKUPmuH9sizwCpIbGBmUHMChsUGjsJKokumoda OAl0yAX9NSV9hfoPP7j4zJKjphRIZ3/NZ8Tum8dYE2bA+mY2Xvda45anF7VYBGP4cQAW WIyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=RVNXv1JYtrW2cW+Rk3LKTTRgi0axGBYEvWkKK+5J8Jw=; b=EnuLgHKDGphPTznO9SrSOe4vcyxhgM44NyG878HORJ/b8tiadaUMK76W+LAqbP0+xX xGW8yZ0u+u87whmdF0cfb0ePCMdbFnaAQVwXL/iw8r7x6ulbGExD32T2ei7Kx4kcQKmU oIeQU+oDncPQeRBnrwMjlmPqyXKcIrwhvDc5uIuBfmRShJEX4J1QpD1BZaV04CdbKm6B ZQN4jXwlgCACPWpErdgYI50FJRRO8Cy8IzNgXLoMAyTbwtkNqDN0EhrTB/WvtN66Ez2R QfBY4D14A+lLAHXEa7zoxRo1yb6TSx+ItTmXHH0HNdKJBtwIZjK21qxUMBgDq1L19BWm P3YQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f15si31792487edq.340.2021.01.04.06.03.13; Mon, 04 Jan 2021 06:03:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726685AbhADOCC (ORCPT + 99 others); Mon, 4 Jan 2021 09:02:02 -0500 Received: from mail-ot1-f48.google.com ([209.85.210.48]:33744 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726328AbhADOCB (ORCPT ); Mon, 4 Jan 2021 09:02:01 -0500 Received: by mail-ot1-f48.google.com with SMTP id b24so26094711otj.0; Mon, 04 Jan 2021 06:01:45 -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=RVNXv1JYtrW2cW+Rk3LKTTRgi0axGBYEvWkKK+5J8Jw=; b=cXs60Ft8B7jmjoznjaq56LTzwhSeSlmRys7cJsjgu/ty908UEum1jDIxUMNQx7eyVt fZgqIfx0iRA4yTNcKulV4BmoVx7gqb1sYs5KupvAeSoltYdbWn++l1AQ4LvryzaaDtfh +p6LnbMsh3NWZQbXr1mdWkRxRLK5Ukrm2Z45fhqXNHOiZ1ObtPs5fgmYMVw33Ne/kCA9 AJkQOXtirRJplGDqZcsMtqips3X04TTQq3OSiVZGYlPdvWlYXdVXOmdH03EOtFwFS3YH TuBWdVxfW4MSdbCzWq/iYZ4QekzgM2U2Y5RvbXamwUnCSgRGs3ybp5O7QOx0WjeCLWsL l28w== X-Gm-Message-State: AOAM533N/Up2pgnd9Kv94l44C5eWfY5IqUhyPzpWyDB6qslvBXXuAP58 /2entXKfVCJgXhTBdBeh5+qxwA7QV/KPW8lV7A0= X-Received: by 2002:a9d:c01:: with SMTP id 1mr37670009otr.107.1609768880297; Mon, 04 Jan 2021 06:01:20 -0800 (PST) MIME-Version: 1.0 References: <20201231155957.31165-1-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 4 Jan 2021 15:01:09 +0100 Message-ID: Subject: Re: [PATCH] can: rcar: Update help description for CAN_RCAR_CANFD config To: "Lad, Prabhakar" Cc: Chris Paterson , Lad Prabhakar , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , Masahiro Yamada , linux-can@vger.kernel.org, netdev , Linux Kernel Mailing List , Linux-Renesas Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prabhakar, On Mon, Jan 4, 2021 at 2:38 PM Lad, Prabhakar wrote: > On Mon, Jan 4, 2021 at 10:51 AM Geert Uytterhoeven wrote: > > On Thu, Dec 31, 2020 at 5:00 PM Lad Prabhakar > > wrote: > > > The rcar_canfd driver supports R-Car Gen3 and RZ/G2 SoC's, update the > > > description to reflect this. > > > > > > Signed-off-by: Lad Prabhakar > > > > Reviewed-by: Geert Uytterhoeven > > > > > --- a/drivers/net/can/rcar/Kconfig > > > +++ b/drivers/net/can/rcar/Kconfig > > > @@ -10,13 +10,13 @@ config CAN_RCAR > > > be called rcar_can. > > > > > > config CAN_RCAR_CANFD > > > - tristate "Renesas R-Car CAN FD controller" > > > + tristate "Renesas R-Car Gen3 and RZ/G2 CAN FD controller" > > > depends on ARCH_RENESAS || ARM > > > > Not introduced by this patch, but the "|| ARM" looks strange to me. > > Is this meant for compile-testing? Doesn't the driver compile on all > > platforms (it does on m68k), so "|| COMPILE_TEST" is not appropriate? > > Is the CAN FD controller present on some Renesas arm32 SoCs (but > > not yet supported by this driver)? > > > Good catch. "|| ARM" was probably copied from CAN_RCAR config and I > can confirm CAN-FD controller doesn't exist on R-Car Gen2 and RZ/G2 G1 > 32bit SoC's (but with a bit of google search RZ/A2M supports CAN-FD I > am not sure if its the same controller tough), but said that there Thanks for investigating. I knew about R-Car Gen2 and RZ/G1 not having CAN-FD. > shouldn't be any harm in replacing "|| ARM" with "|| COMPILE_TEST" > for both CAN_RCAR_CAN{FD}. What are your thoughts? I'd go for "|| COMPILE_TEST". Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds