Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5520306rwb; Tue, 17 Jan 2023 15:08:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXtcd35qIOCdjmNe5NBggNkzRiXJZL0yG/uSJFk7yoVJFCpqDKT2C5YYyr6LDbaCZEPcEpaM X-Received: by 2002:a17:903:41d2:b0:191:4575:48aa with SMTP id u18-20020a17090341d200b00191457548aamr7294603ple.11.1673996897400; Tue, 17 Jan 2023 15:08:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673996897; cv=none; d=google.com; s=arc-20160816; b=HYN1OUVe76EwxPqyMXxz95V7KHY3N38pOxRXNw5+zXP2zfzJwG4tyMLts5zGof0KGU W4YgtgoEPSHfeaLgjzveeznw5dQslf81OYhaaVRFcisGdd9L/REeYG/keKFOFo+geaA4 CPYXjPJiXR62p7P6aaKhSVraKqODsGPnXRHB/kWtkViztVFfV1MM5ab4WzdbBHcwY+F4 1o3sbZMC+AtfaITiSPByuMM5pUzjAtAT6BnXoe+eSRS1tPJk1/FnOSks4Nn5E2cd//aj 4CZQ8rAw6xNpRgoU5bS1nUpiIaaaFloqgKIx80qkCZ6SFlkeSfSOcKn9v8y5as04RPKG ce6A== 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=7rC0mNjXax5vqLz2OAo+EH0y+cJfjyIAm7sm9u5PvgQ=; b=wYb9EB3fY0r3PwSE9ORx01/7YHp+B/9qdzWQWOzP5Ooukal6AfpieDsxbO8cokb+9/ OyZU8Y8lltTiX4eI6cOEJfGbvnSAL48TDCVdB6dOVApiCguzqKGbcbDPOb/Kaqi7xB4q iGdL2h0s4CzzhfejOA1NxXxDfJG4WkQYbiChcwuQjJGELuvwIeOAM5blYtJUYhbO7VPR v2Z2RLOdSEae2qvmniCoAGVkDxBqJyagi+6Nmmk89cBioL1pKl4OdlwNOdwWiSh9fU7J yD912c853xtR0mS40Mp3xSktFw+m11R5b3BdaAqKCJctvEX+/qeIxEEnsd+1X7t6laEF JBWg== 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 ba8-20020a170902720800b001949d488c0asi5165892plb.508.2023.01.17.15.08.12; Tue, 17 Jan 2023 15:08:17 -0800 (PST) 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 S229687AbjAQWBU (ORCPT + 46 others); Tue, 17 Jan 2023 17:01:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229866AbjAQV7m (ORCPT ); Tue, 17 Jan 2023 16:59:42 -0500 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A2343C2A3; Tue, 17 Jan 2023 12:26:42 -0800 (PST) Received: by mail-vs1-f49.google.com with SMTP id v127so29141213vsb.12; Tue, 17 Jan 2023 12:26:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=7rC0mNjXax5vqLz2OAo+EH0y+cJfjyIAm7sm9u5PvgQ=; b=Yr9F31/7vLwBOZRKZ1DOhx7lv+07U9yCPU3kfK3htjNZou2RGjuLkdqwCn8yKk9eF3 GnyyMHiW3JgbPuw6+FCnbxXOm2pXbKR74ChWnRn/hHl+9by/VHS5XtgOFtV5OVc06ddw LnzBWPfOsBT9fqwpqly0JUq8dnwIcMSuesyYy1KvIo27t7NfN87fYlhZwyNhgxs4TcFk 9BF4fB6bXw5YhS8+79SPrAO36Q1UAWE6lQ/eDxVYm9AGrYBuapnXFFs/g4Y/d3/65nEM cNY+emfDCxLCn/w9cVLEEICPn6d8+Q4pdwHu1n/gCrT2Kr8MUafwGrFjLQWyaGQ2cHdv bY8g== X-Gm-Message-State: AFqh2kqzy6dBVKRzPngOGJhrF0YAVXXu3mDkVZ//3HfOKs6E0G/PoFSo ZhqezYlyMbvP27SJixa4hW2wxfnjUsABHg== X-Received: by 2002:a67:c116:0:b0:3b1:23bb:3087 with SMTP id d22-20020a67c116000000b003b123bb3087mr2147820vsj.26.1673987201149; Tue, 17 Jan 2023 12:26:41 -0800 (PST) Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com. [209.85.219.176]) by smtp.gmail.com with ESMTPSA id q22-20020a05620a2a5600b0070638ad5986sm7355016qkp.85.2023.01.17.12.26.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 12:26:40 -0800 (PST) Received: by mail-yb1-f176.google.com with SMTP id o75so35606650yba.2; Tue, 17 Jan 2023 12:26:39 -0800 (PST) X-Received: by 2002:a25:9012:0:b0:7b8:a0b8:f7ec with SMTP id s18-20020a259012000000b007b8a0b8f7ecmr707665ybl.36.1673987199250; Tue, 17 Jan 2023 12:26:39 -0800 (PST) MIME-Version: 1.0 References: <20230113062339.1909087-1-hch@lst.de> <11e2e0a8-eabe-2d8c-d612-9cdd4bcc3648@physik.fu-berlin.de> <20230116071306.GA15848@lst.de> <9325a949-8d19-435a-50bd-9ebe0a432012@landley.net> In-Reply-To: <9325a949-8d19-435a-50bd-9ebe0a432012@landley.net> From: Geert Uytterhoeven Date: Tue, 17 Jan 2023 21:26:27 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: remove arch/sh To: Rob Landley Cc: Christoph Hellwig , John Paul Adrian Glaubitz , Yoshinori Sato , Rich Felker , Arnd Bergmann , Greg Kroah-Hartman , Laurent Pinchart , Kieran Bingham , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arch@vger.kernel.org, dmaengine@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, netdev@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, linux-sh@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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 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 Rob, On Tue, Jan 17, 2023 at 8:01 PM Rob Landley wrote: > On 1/16/23 01:13, Christoph Hellwig wrote: > > On Fri, Jan 13, 2023 at 09:09:52AM +0100, John Paul Adrian Glaubitz wrote: > >> I'm still maintaining and using this port in Debian. > >> > >> It's a bit disappointing that people keep hammering on it. It works fine for me. > > > > What platforms do you (or your users) use it on? > > 3 j-core boards, two sh4 boards (the sh7760 one I patched the kernel of), and an > sh4 emulator. > > I have multiple j-core systems (sh2 compatible with extensions, nommu, 3 > different kinds of boards running it here). There's an existing mmu version of > j-core that's sh3 flavored but they want to redo it so it hasn't been publicly > released yet, I have yet to get that to run Linux because the mmu code would > need adapting, but the most recent customer projects were on the existing nommu > SOC, as was last year's ASIC work via sky130. J4 still vaporware? > My physical sh4 boards are a Johnson Controls N40 (sh7760 chipset) and the > little blue one is... sh4a I think? (It can run the same userspace, I haven't > replaced that board's kernel since I got it, I think it's the type Glaubitz is > using? It's mostly in case he had an issue I couldn't reproduce on different > hardware, or if I spill something on my N40.) > > I also have a physical sh2 board on the shelf which I haven't touched in years > (used to comparison test during j2 development, and then the j2 boards replaced it). > > I'm lazy and mostly test each new sh4 build under qemu -M r2d because it's > really convenient: neither of my physical boards boot from SD card so replacing > the kernel requires reflashing soldered in flash. (They'll net mount userspace > but I haven't gotten either bootloader to net-boot a kernel.) On my landisk (with boots from CompactFLASH), I boot the original 2.6.22 kernel, and use kexec to boot-test each and every renesas-drivers release. Note that this requires both the original 2.6.22 kernel and matching kexec-tools. Apparently both upstreamed kernel and kexec-tools support for SH are different, and incompatible with each other, so you cannot kexec from a contemporary kernel. I tried working my way up from 2.6.22, but gave up around 2.6.29. Probably I should do this with r2d and qemu instead ;-) Both r2d and landisk are SH7751. Probably SH7722/'23'24 (e.g. Migo-R and Ecovec boards) are also worth keeping. Most on-SoC blocks have drivers with DT support, as they are shared with ARM. So the hardest part is clock and interrupt-controller support. Unfortunately I no longer have access to the (remote) Migo-R. 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