Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5912257rwr; Mon, 24 Apr 2023 10:40:44 -0700 (PDT) X-Google-Smtp-Source: AKy350adGZngEmNfcI3qxhY4Ql7tm/FtUo1EcUjVi8vrM/ocuaBvbvqPuTFXIswGsYTO///jBUCr X-Received: by 2002:a05:6a20:7f88:b0:f0:916:e5d with SMTP id d8-20020a056a207f8800b000f009160e5dmr18408480pzj.42.1682358043631; Mon, 24 Apr 2023 10:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682358043; cv=none; d=google.com; s=arc-20160816; b=KvnOD1QPndZPLm/3/A8V/3exn5AgleScdp7uLnOMg4EVTz7JCP2wnrKsHZNQ9rVjHs 01PVJI9wXiJmHJQb3vHXHWdSRRYMQl4+KmhOOoNf4A1HH465erWYkrYstX+XYrCCOxaV sb7iFdt47dHEWg+4IDpEzKNMSTWRTCywadsKHWZ8C+CoGW7RtRAgwebHj9wE9ubEw+vb 9Sl5EyRhO68lXUWWVGCwCICHdZeroq42jI0UWPZ5Blrf+rHcM1WVYhRFlOaK3let16Bi S2C0SvNg+iwNWRogXjOHkiofjoU1K8ruV+icp4qR2G02DQh2+c/BZz5IPTfB6bH529RE p//g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=PG2xnI5EZcgHLvWHhLj1Yc170Eg4uY83k/+YFd+JttA=; b=X5DHycIQ+eoASiIe4trRnU0o701xshupeeC/rO4sKd4FrL7a0F8ezzZ7u/PmcO4hWd mB+kScYb2wccP/AWxiU5tC6Jhz5+S7JOqayDCy6TsZwW5BMYoNt0H/kY8lagipZyy+D/ 3csHPlDS+sQHxFsvmMUeb8o9MfodzGi9ZD/Xg78kuLVBnZLc4ONtbJ6qjfRZt85HKGgC jK6qMe+ymv7FdhJIiIXPqC/p7s72Z9Hka0uo2hMpd6XOEib5yaogZW62PUpRhVDEDZBi 2+uJkzJlxkwdjcOq6yUN5NV03LvzlRZaOuK9c5yNnV6B9gr3RTv/L4uaUcjDpJpS8JvC aeWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g3-20020a17090a67c300b002479bbf3246si14025922pjm.124.2023.04.24.10.40.31; Mon, 24 Apr 2023 10:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231993AbjDXRjR convert rfc822-to-8bit (ORCPT + 99 others); Mon, 24 Apr 2023 13:39:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231579AbjDXRjP (ORCPT ); Mon, 24 Apr 2023 13:39:15 -0400 Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02D33A5F0; Mon, 24 Apr 2023 10:38:34 -0700 (PDT) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-555e853d3c5so31951537b3.2; Mon, 24 Apr 2023 10:38:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682357886; x=1684949886; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=43eVrCXPQ3JCvD9a2+R69fZ/LkUiFUI38jpabfj7B7U=; b=TgkboWY74aLy6vHBN94U5NTxLaG+FuJAJDzVjfBdPOvpV73rmMT+jPIrab3HoxDfDI jci+lbAiM8qJDG9AoUQ6h2YHNGW5C+arHVbNHaD1Ze5EfP6g9f7h/qi68Q3IGAkqLY7V 7h780hq7UR3uj3STDU5M8lj06FFG3QJEOnCKcQ3d6/tJH8+uvb9A+WUkCH0lq7w2xuTe fVUG6nU9gxlyzy5ZpbygRqy7iyO326SuhBs8YLyEmz47dd3KdAj8C/jlLv4d12lTnWNW Sa0m8slKRhYsqyOnxjRFCTzO3EPoGZbahQZl4bl6qfyvDI+nfl8+MftXRIqYeE29yYk3 +c+Q== X-Gm-Message-State: AAQBX9fmER9dlQkwdpIZ8A1NOhKDjPkt4R4KFMmXJnbBg4sZ8VbaTZDq yv1m42jYrczBlwoHA1F9HSaiGFxTZCVoAQ== X-Received: by 2002:a0d:f306:0:b0:54e:fad7:7485 with SMTP id c6-20020a0df306000000b0054efad77485mr8306256ywf.31.1682357885646; Mon, 24 Apr 2023 10:38:05 -0700 (PDT) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com. [209.85.128.174]) by smtp.gmail.com with ESMTPSA id t1-20020a0dea01000000b00545a08184fesm3021978ywe.142.2023.04.24.10.38.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Apr 2023 10:38:05 -0700 (PDT) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-555e853d3c5so31951307b3.2; Mon, 24 Apr 2023 10:38:05 -0700 (PDT) X-Received: by 2002:a0d:f306:0:b0:54e:fad7:7485 with SMTP id c6-20020a0df306000000b0054efad77485mr8306240ywf.31.1682357885170; Mon, 24 Apr 2023 10:38:05 -0700 (PDT) MIME-Version: 1.0 References: <20230307163041.3815-1-wsa+renesas@sang-engineering.com> <20230307163041.3815-6-wsa+renesas@sang-engineering.com> In-Reply-To: <20230307163041.3815-6-wsa+renesas@sang-engineering.com> From: Geert Uytterhoeven Date: Mon, 24 Apr 2023 19:37:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 05/11] media: renesas: fdp1: remove R-Car H3 ES1.* handling To: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, Kieran Bingham , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Pinchart Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wolfram, On Tue, Mar 7, 2023 at 5:31 PM Wolfram Sang wrote: > R-Car H3 ES1.* was only available to an internal development group and > needed a lot of quirks and workarounds. These become a maintenance > burden now, so our development group decided to remove upstream support > and disable booting for this SoC. Public users only have ES2 onwards. > > Reviewed-by: Geert Uytterhoeven > Signed-off-by: Wolfram Sang Thanks for your patch, which is now commit af4273b43f2bd9ee ("media: renesas: fdp1: remove R-Car H3 ES1.* handling") in media/master (next-20230417 and later). > --- a/drivers/media/platform/renesas/rcar_fdp1.c > +++ b/drivers/media/platform/renesas/rcar_fdp1.c > @@ -254,7 +254,6 @@ MODULE_PARM_DESC(debug, "activate debug info"); > > /* Internal Data (HW Version) */ > #define FD1_IP_INTDATA 0x0800 > -#define FD1_IP_H3_ES1 0x02010101 > #define FD1_IP_M3W 0x02010202 > #define FD1_IP_H3 0x02010203 > #define FD1_IP_M3N 0x02010204 > @@ -2359,9 +2358,6 @@ static int fdp1_probe(struct platform_device *pdev) > > hw_version = fdp1_read(fdp1, FD1_IP_INTDATA); > switch (hw_version) { > - case FD1_IP_H3_ES1: > - dprintk(fdp1, "FDP1 Version R-Car H3 ES1\n"); > - break; > case FD1_IP_M3W: > dprintk(fdp1, "FDP1 Version R-Car M3-W\n"); > break; Apparently 0x02010101 is also used on (at least) R-Car M2-W ES1.0, causing the following annoying (but further harmless?) messages during boot: rcar_fdp1 fe940000.fdp1: FDP1 Unidentifiable (0x02010101) rcar_fdp1 fe944000.fdp1: FDP1 Unidentifiable (0x02010101) Note that the R-Car Gen2 documentation states the register's contents are all zeroes. But that value would trigger the error message, too. Sorry for not noticing before. Apparently I never booted a kernel with this patch on koelsch... 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