From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CC947C32793 for ; Wed, 18 Jan 2023 16:10:33 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D6EDF44E7; Wed, 18 Jan 2023 17:09:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D6EDF44E7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1674058231; bh=EtdoY2Nk5x6mrSSpiUr0x1Der5RhSHLQ2YNqQIW7VRo=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=mkkgl2MtLgQ288dfBrZI2KC/QDfD0T0b4InV0fNyPDMJ1b0slOuTx517N03iLcs5B b3aHrRFsrq87EGiFXCwUd/36ulWP578UVELADQUBPpSPa/yZ5xgO89yb7sKTSRIosa kMGaOjxdbPk/n5Z8LKQ/twlS6nIG53S29L94hkZw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 44D09F8024D; Wed, 18 Jan 2023 17:08:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A9DB3F8047B; Wed, 18 Jan 2023 00:05:27 +0100 (CET) Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C1DC7F8022D for ; Wed, 18 Jan 2023 00:05:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C1DC7F8022D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=DW8ifSPA Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-15eec491b40so12755273fac.12 for ; Tue, 17 Jan 2023 15:05:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=4AE2HZs9Ij2bBJhhAjrwEjzLChQl9bR57MnvWzA7x6U=; b=DW8ifSPAga42dfR5FsmeN7ktP7xrF85FXw0C/+Pm5lDatitnt6M1CQj7M2iuNxfpn/ 8Lqyqdz46gcYI65b7HEV2rZB0b9w18a0Vu2j5uxJKOihSIilp5BJI4J3to3fBGZBSOAg qKZTbOqyIEM6sy28abPqdGt+yArW2Z23B5BMGrPIlI9/cDODcnnJxtAxcNyDFXPVHMXf R48P+80RHdZ3pZH8azCzarSBYjkryNQm8JI66tMAqXqouswoKpLIWF/td2aT/9AEdW3K k98TjNYTCV9B45cWKs661R8TJB1gnbsipfyvYuHwtR9zJJna1byThoO89hC/942uN+q5 JvyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4AE2HZs9Ij2bBJhhAjrwEjzLChQl9bR57MnvWzA7x6U=; b=gO48I2Ult4CvMsnvV9vslIAmSWUbbmdT7zHM2vPHQx9teETfzNRE1JzrWlg7jBzApb 8AeJgYnKaAd0+FSrM6DJD5fG6Rkvzwn0/4aU8Q283BSdmdRgy3eAL04O2hNdSFZrqkWh CgEHEfxb8ZC4ik6bUU+sHiUH7xLtvGAIxXeDwbTWbpVKC4OWBS9XHqMneqhshtPPSUPk 5Pc+fystAUpYI0sx6CpyywkvLiO3BKwYX5Am1nLrcTDCAEvzNfk1oyqFeESGBM3OBrjB dYTBfQHxTWdTy5gc8WEbvGQOK1k3XwfHdpd7gboYF5RUKY1f+P9iQYTuqENVYGXDQgzL QOVw== X-Gm-Message-State: AFqh2kqml8MVIS6rvjz6SS596UnN8clDIbAeyuuEo0AcBh/3X1yncwYD mNip1KpTGRY7wphZwC3qcXU= X-Google-Smtp-Source: AMrXdXtHuS2LexOqaSnPiZkh1ICiW0LO3fAy28p2lWPRYUg8JIB1z86k++pUvGweLF5SJ5SaQKIaNA== X-Received: by 2002:a05:6870:5386:b0:15f:385c:720c with SMTP id h6-20020a056870538600b0015f385c720cmr3233662oan.30.1673996717252; Tue, 17 Jan 2023 15:05:17 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id cm18-20020a056870b61200b0012b298699dbsm17151555oab.1.2023.01.17.15.05.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 15:05:16 -0800 (PST) Message-ID: Date: Tue, 17 Jan 2023 15:05:12 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: remove arch/sh Content-Language: en-US To: Geert Uytterhoeven , Rob Landley 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> From: Guenter Roeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 18 Jan 2023 17:08:49 +0100 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, Rich Felker , Geert Uytterhoeven , linux-sh@vger.kernel.org, linux-rtc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mtd@lists.infradead.org, linux-i2c@vger.kernel.org, Christoph Hellwig , linux-arch@vger.kernel.org, Yoshinori Sato , linux-serial@vger.kernel.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, Arnd Bergmann , linux-gpio@vger.kernel.org, John Paul Adrian Glaubitz , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Kieran Bingham , netdev@vger.kernel.org, dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, Laurent Pinchart Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 1/17/23 12:26, Geert Uytterhoeven wrote: > 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. > Since there are people around with real hardware .... is sh in big endian mode (sheb) real ? Its qemu support is quite limited; most PCI devices don't work due to endianness issues. It would be interesting to know if this works better with real hardware. Thanks, Guenter