Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3404272rwa; Tue, 23 Aug 2022 04:20:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR4G532c4YvpmyKpyrbbwKj0yEtIX4G7HYFm6esgZJZfQTO7rwuzNBU4OzpgtQAW4GOO24Dc X-Received: by 2002:a63:4916:0:b0:427:d463:55e with SMTP id w22-20020a634916000000b00427d463055emr20725626pga.374.1661253605338; Tue, 23 Aug 2022 04:20:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661253605; cv=pass; d=google.com; s=arc-20160816; b=kqzJBsvF0f7l0ImvZkVRTxLguLpzYoi1/dEctfwp2SMDai1PBSfa7FRgpteNWKNBAh 6j0Gb/7PI/iZzuSbDNnpMju9IW7S1Ihr5WUh64gnZlPgJ4KZ6SWGqn9a0VLy5pk64ByV qBOn+gYaEOJpLHqW2ZBFx7aDPo3GeQImaVFTXR9FfMGsBzy4J+Vj8/9tBxxR6jVPBtrp 5w3Ny14NqaIlPe1yUcVLjauineECZQReJzQv7TfK34IzW3A8klC1odB1++oHC+cVGEZF R/AhJeNk133Nrb7s0yxY7z7RWME5+n3EPGHD4TiEk8hC+ziKAJdlkARMBoDS60q39R2H qYTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=X0/PBCUD4f7PaS4J5lj864PteHQGGmeAj1+g/EZkSBs=; b=DdoXJoMdTxbGuT0aCHdSUYNlXW8hLzp64/W9KPHmxkrexob310zkUbyt4nD6qrW9W+ onKOg/D/U6HoSveOsqOivQDGfBmHptV6ywvT3kc1HvdnQG8IcQwq5FK+cVK6RI6ezIpf Hp24UVgJDUZNGQSpDXEGE78cu09stkSm3ViAps9N1GDQriYwqv8DAu3/Ba/0TdJdb8QA LolqSDowSC1IKdEUq2JNym8uJsGEtUcvszcCPbDWyzekMJowD9YDb2J4t/Knl2LuukIV dmsSjmxvkGdHTkFAfrqzuDjeQkDQYc5miGb0nycG45qoxsOAxaB5+lb7SPAMCuvTsIlr a26g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=Rer1UV0K; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp8-20020a056a00348800b0052e51263b98si13589738pfb.249.2022.08.23.04.19.54; Tue, 23 Aug 2022 04:20:05 -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; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=Rer1UV0K; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238936AbiHWJWN (ORCPT + 99 others); Tue, 23 Aug 2022 05:22:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349836AbiHWJVG (ORCPT ); Tue, 23 Aug 2022 05:21:06 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2072f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5584E8A7FD; Tue, 23 Aug 2022 01:34:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nGOw57Kz04rFiFqeZ0WiWqWXoGDOgdJyR3wxr8J+wlIN5QjnFfUPcrmspfRq9okKNbqLfOJSXLYNVlDh5dXskeaKtPAD790T6KlrMop/o4+YhWl0qO95IA6oZtIdWUNY8raJwunY/+fG2cOdCcmRC+ebmBMGs/puak8OI25i/+V/JhvzmmKop37qflS8LWxqb9QC63KSGivoPFnd1Iv+Voehz61j4nDDy1SAWX+lD0MMffod4SqgMYcPwvVApYdO4WK6edkWdeNNhhK9wK6+ONXEU4i9u00oGjkW+rPGVt03tkVJ932YWnPrRbfG9Ksfy/JtHUQzkqYpoBQeCZFArw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X0/PBCUD4f7PaS4J5lj864PteHQGGmeAj1+g/EZkSBs=; b=BkmG7UAVdcGLQQBDTXE/mSc/aUXSxCHcgn3kRyV8MVSQxmCbjPLgHFrY8lQfjHTXrcqwvtqCwT1fYlYrPap/f+mEKnFSXJrxalvhj7VeVmaG8qaKm1aeyLPiSb6ZlbKAczrgboQPNZatKdOrUxL26vuTnG/TaMl8ZxCbf/6JbXwZnHn4cxWb1nU1Tl7RZqsZbXs1T3e0WIGRAka20PakqNn3o04vtZqRqxDtqX9sgkvrlxkzePnbaA/Iug6Wht2VeaP4dWt/p8zydYBkw/gR9+TuuHWEq3Ev1Vm47BN16cNSRmP7ddejTxLFHIbsH6pyDoFpd0Rrm0w2XV5l6unCVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X0/PBCUD4f7PaS4J5lj864PteHQGGmeAj1+g/EZkSBs=; b=Rer1UV0KidrzmnVbnIqEmoVqFLpunyyREg5UaMDXzfrJEwEPxGpdUngGh47clKmHdYLb0CRcxwFBrUvKt8RxKAbjQDPVIPlL0lTWYOhpcSZUrxaOCx4XhSK8RZONiDcWVYJ5CPmb+UCKJ50MQOQIQXm7nciXWEkHCXC2aB/uvSo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by BL0PR01MB4788.prod.exchangelabs.com (2603:10b6:208:7c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.22; Tue, 23 Aug 2022 08:27:43 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::48f7:ac49:a2f8:614e]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::48f7:ac49:a2f8:614e%5]) with mapi id 15.20.5566.014; Tue, 23 Aug 2022 08:27:42 +0000 Message-ID: <673e200f-f458-7866-f956-3d5bd7160a49@os.amperecomputing.com> Date: Tue, 23 Aug 2022 15:27:32 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.0 Subject: Re: [PATCH v3 2/2] ARM: dts: aspeed: Add device tree for Ampere's Mt. Mitchell BMC Content-Language: en-CA To: Arnd Bergmann , Joel Stanley Cc: openbmc@lists.ozlabs.org, Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Andrew Jeffery , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Open Source Submission , Phong Vo , thang@os.amperecomputing.com References: <20220817071539.176110-1-quan@os.amperecomputing.com> <20220817071539.176110-3-quan@os.amperecomputing.com> From: Quan Nguyen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR02CA0064.apcprd02.prod.outlook.com (2603:1096:4:54::28) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ab534e5c-b2c9-4752-9119-08da84e15901 X-MS-TrafficTypeDiagnostic: BL0PR01MB4788:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m0W9LgJOyHuBe9H8ZxAvuCfhi/vrXN2VAIt0d4L7MJAoOSJGC9Qh9Y6nvpI1XEzKEV7Goyc3rjGzrHITqs/eDcvZ+vQaejDHdYx5hmDz2pP/+QmG9Zf1FOhKMnNheU4BboC2m46jbJEY1dHSIzUj2yrVzZhgsgXEr8nwVebnjeY92H1/h01M7mdDStTktkY0LYfGH/TlQF7FWUQWW3ciJyxo7kQpuWmig2V//5FwHD9U0lA3xf2toDzIfvMZgY17p4Y6LvicTKmVIOM8dCPqq2aHvh1sZKCIxQ9X/2Iaj5B1SCFJtb2xWYTHc1m2n+LtQOGbz903jxY7N9bRuZmOU4U8m+3KYUWNeT2Y/AeLnDDRJscg/Ti2PPbCKDfh6YbQDeQrDJXjzL3pGgxI3Cp7rD25zWX5tHbAtdpWjRlqmppVDb/fCMlLzX9wuZ39gzZaKtm/8Ov6+02T0z+maLv/GeaTEpmu9T9Y54XVgCGpxkuqFgXLeyNGu5JdvTl3+NnD00pYN+ZZPsK9Sub9om+t9XUichW/9bqQAwSWfwfov2I2JzO5qv5gN3t62VBK18UK69zxIcp3bXvNEsmu5xMO2YgRTG99jQ06yEXv/5V+5ypuS1irsxDmmF818EcjmoR+OeflVlqbw23bSyxQ+NhUl0OGlQBxCIYUxsPvkE8KmPTA7Dmn2D9xffEJ2+jW5X98ptRQU9ZcLsHFe7BtPinUK+arRVdxJclKYAvn+C23i8GKMheglB11Rs2tqxazwQja4EmmmO0YYmp/Y//6fO9IuzEXRMIuXgWHaPDJPd2CnXg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7282.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(39850400004)(366004)(136003)(376002)(346002)(66476007)(4326008)(66556008)(66946007)(8676002)(54906003)(110136005)(86362001)(31696002)(5660300002)(7416002)(8936002)(316002)(2906002)(31686004)(38100700002)(38350700002)(6506007)(6666004)(52116002)(26005)(53546011)(107886003)(6486002)(6512007)(478600001)(41300700001)(186003)(2616005)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dnJEeENLZkhoVlRnaU00MkxlQjFNSDcxU0hmTUhMdVlqbjl5NStMTHZLMXVY?= =?utf-8?B?RC84aUdrTnhJR2VoSVZRb3pqYWZxSFBhYlhyOUp3dXVqR3l0QU5qY0o1MG9u?= =?utf-8?B?L05RalpOVjVpcmpDTUdXa3Y1cGR2VFpWSGloQzEydTc3b0Q0ZTE2VFcxYlF3?= =?utf-8?B?SVVON2phYzdYc3VENDJ5czRGVFJoSWlFY3E5QnRwTDVDdm5SbnFXZlFxUEdm?= =?utf-8?B?Q1RzdlQ1VmM2VTZKUGViUDdqeXl4dG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F?= =?utf-8?B?dkxUdXRqNXRvL0lqekJGY0tFT3gvc0YxOGg3WFI3OS9vaTBDUFgvNFhuOWxG?= =?utf-8?B?c0lKOXpvWVM2cjRYRm1pNGIzUFhZb2VyZk93cFIyU2FyM0t6cVRmaWVjVHNo?= =?utf-8?Q?nXO2EXhn9RkzodNqpOwejkk=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab534e5c-b2c9-4752-9119-08da84e15901 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2022 08:27:42.7284 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vBMfKqW82urWFPOfbA5dIMzFRFI5zq96iJEO5u9PiX8KydJLRNpBtSeRj6SQT5SWz9kkxO6jczjD0uB5bC75N6jQOWnvUhGQAd9BB0BVrk8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR01MB4788 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,SPF_HELO_PASS,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 18/08/2022 19:06, Arnd Bergmann wrote: > On Thu, Aug 18, 2022 at 9:33 AM Joel Stanley wrote: >>> + >>> +/ { >>> + model = "Ampere Mt.Mitchell BMC"; >>> + compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600"; >>> + >>> + chosen { >>> + stdout-path = &uart5; >> >> I know you've been told by Arnd and others to remove the default >> command line here, but without it your device tree fails to produce >> any output in my tests: >> >> qemu-system-arm -M ast2600-evb -nographic -dtb >> arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dtb -kernel >> arch/arm/boot/zImage >> >> Without a working test, I can't tell the difference between a broken >> device tree and one that omits the serial device on the command line. >> Can you work with Arnd to come to a solution here? > > If you use qemu as the boot loader, I think the expected way to do > this is to use the "-append" command line argument along with "-kernel". > > Is there any reason for this machine to be special here? > Thanks Arnd for the comment. I think adding -append could solve the issue. But as the bootargs still exist in all other arch/arm/boot/dts/aspeed-bmc-*.dts should we still keep bootargs for this dts? Thanks, - Quan