Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp21350pxr; Sun, 10 Apr 2022 05:45:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyhu92fOK63ISmF2uPscLclMMa3cMa45Jx7ijgmI+nfXlEV8ICw90UP+1m5Iey6+xNGunR X-Received: by 2002:a17:907:6d05:b0:6e8:7134:f8ee with SMTP id sa5-20020a1709076d0500b006e87134f8eemr5961289ejc.46.1649594716494; Sun, 10 Apr 2022 05:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649594716; cv=none; d=google.com; s=arc-20160816; b=wBkmAw3C2BdWQaFYKx+fEepn2dDN6Uic9Bkix7+LlQH7V0CpwIy7iWPnoHYTzS0/8D Y7JjtXrweusa5PPfXQOM6dk5VLBNWNyDujC5L37M0VmOp60CpIXyk2xjeA8oB7lYfYIY YqqIigtiRY5NrCrVpyAlEAVbCWhsqGZwPNReoGyPJwB9sqXpM+syOK9XaYJVtLrT4Z7Z cMBtSMC3spVdNUn2YELHMsvXcHv/NZTTf7nCMzBSx8aBNxjgFnUi5Y0zOxAZut2W6TTx Tt/xrYgq64l9v1ExyAyujtCdzXz02anTe8iw+glq2gL15MoeOweeikYNgtfXkf4/vioQ Rfeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=MxGGw/F7qO2cHvi/H0nqVCVgBSKzxvDQ7fPITdLuEo8=; b=ZBGKM/CypC+k6OTsklz64+bjrHNnHqTIfs/uGS66E1rbrQk3mx3IwnLzD6yzVeGRok llur/gu95qn9d7XtmdcwVDEimTBA7mhtZW6nVhw9F7W/vCf2LpX29eR7HigLKi3PlED5 HRI/fWZDZrO8i7p1t4fgUu6mFq2EAQQiuEiu6z7a283Y7D4DLBfyyz9pA3YPxbM+KDol cRr4yhl7O7od5bbeLfrOitGxB9AQufHXyMN+e8E99rX+rVWdYoRMrWIgo5QLj4Q8T/0E qBqf8ms6Yt93H+zgvEeS6uFjwUzKzpCTTcrgQySdUVLefklj49RALNBBt72npPTKLSlW /p/A== 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 m6-20020a1709061ec600b006df76385cf7si4500480ejj.407.2022.04.10.05.44.43; Sun, 10 Apr 2022 05:45:16 -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 S239421AbiDIEQY (ORCPT + 99 others); Sat, 9 Apr 2022 00:16:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233033AbiDIEQV (ORCPT ); Sat, 9 Apr 2022 00:16:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B83863ED16; Fri, 8 Apr 2022 21:14:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 51CDF60A78; Sat, 9 Apr 2022 04:14:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 560CCC385A4; Sat, 9 Apr 2022 04:14:11 +0000 (UTC) Message-ID: <3146e4cc-71b4-126f-1d0c-9da2bb8282ca@linux-m68k.org> Date: Sat, 9 Apr 2022 14:14:08 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC PULL] remove arch/h8300 Content-Language: en-US To: Rob Landley , Daniel Palmer Cc: Arnd Bergmann , Christoph Hellwig , Linus Torvalds , Yoshinori Sato , Linux Kernel Mailing List , linux-arch , "moderated list:H8/300 ARCHITECTURE" , "open list:TENSILICA XTENSA PORT (xtensa)" , Max Filippov , Linux-sh list , linux-m68k , Damien Le Moal , linux-riscv References: <6a38e8b8-7ccc-afba-6826-cb6e4f92af83@linux-m68k.org> <5b7687d4-8ba5-ad79-8a74-33fc2496a3db@linux-m68k.org> <8f9be869-7244-d92a-4683-f9c53da97755@landley.net> From: Greg Ungerer In-Reply-To: <8f9be869-7244-d92a-4683-f9c53da97755@landley.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 9/4/22 10:24, Rob Landley wrote: > On 4/5/22 08:07, Greg Ungerer wrote: >> On 5/4/22 13:23, Daniel Palmer wrote: >>> On Mon, 4 Apr 2022 at 22:42, Greg Ungerer wrote: >>>> But we could consider the Dragonball support for removal. I keep it compiling, >>>> but I don't use it and can't test that it actually works. Not sure that it >>>> has been used for a very long time now. And I didn't even realize but its >>>> serial driver (68328serial.c) was removed in 2015. No one seems too have >>>> noticed and complained. >>> >>> I noticed this and I am working on fixing it up for a new Dragonball >>> homebrew machine. >>> I'm trying to add a 68000 machine to QEMU to make the development >>> easier because I'm currently waiting an hour or more for a kernel to >>> load over serial. >>> It might be a few months. > > I've been booting Linux on qemu-system-m68k -M q800 for a couple years now? (The > CROSS=m68k target of mkroot in toybox?) > > # cat /proc/cpuinfo > CPU: 68040 > MMU: 68040 > FPU: 68040 > Clocking: 1261.9MHz > BogoMips: 841.31 > Calibration: 4206592 loops > > It certainly THINKS it's got m68000... > > $ qemu-system-m68k -cpu ? > cfv4e > m5206 > m5208 > m68000 > m68010 > m68020 > m68030 > m68040 > m68060 > any > > (I'd love to get an m68k nommu system working but never sat down and worked out > a kernel .config qemu agreed to run, plus compiler and libc. Musl added m68k > support but I dunno if that includes coldfire?) I run and test all development rc and release kernels on the qemu m5208 target (that is a ColdFire v2 nommu core, the "-machine mcf5208evb" qemu target). Of course I test real hardware as well :-) The kernel's m5208evb_defconfig works for qemu. Though you will need to sort out a user space to get to a login/shell. I mostly use the last uClibc for that. >>> It looked like 68328serial.c was removed because someone tried to >>> clean it up and it was decided that no one was using it and it was >>> best to delete it. >>> My plan was to at some point send a series to fix up the issues with >>> the Dragonball support, revert removing the serial driver and adding >>> the patch that cleaned it up. >> >> Nice. I will leave all the 68000/68328 code alone for now then. > > The q800 config uses CONFIG_SERIAL_PMACZILOG. Seems to work fine? Sure, but the Dragonball are a 68328 SoC family. Its serial hardware block is different, needs a different driver. At least all the ColdFire parts use the same internal hardware serial block. Regards Greg