Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1095494rbb; Sun, 25 Feb 2024 20:13:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW68qveWXlb8DX0s5gISR3uARXx9GEf43nNqePNNB/6Tp+uOK7Uc7VbeIdTxw1EkoLSyY4t4AeOqhBIqFvGN5JkOSGCAX+QWnSFBbMm2Q== X-Google-Smtp-Source: AGHT+IGZmXpM0k/UvOk8VLp9/wUkSMsJJAbQdeUr764wuA4KS/BQVyMXX7+tWSlPw58WGpU5WpCT X-Received: by 2002:a05:6358:8099:b0:17b:5759:82ea with SMTP id a25-20020a056358809900b0017b575982eamr8551590rwk.11.1708920808470; Sun, 25 Feb 2024 20:13:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708920808; cv=pass; d=google.com; s=arc-20160816; b=vcdcpzmk88Bpd2yqRQkvoOm1mDF5dU+XqFeJk8Cmq/Xlt6WZDOSbwtg6pGhX7mMXot hmX1mBeC8nunvNuKUB2Ee2hK5jT+o68D0c3RkfU9RlsnYl7bMVKIiHPhS8CBn/rQlQB6 ZMd+y7qkKl6Q42jQsfmJgkN9Y2URx8yP/HjUwjG9L2NY1Zu7X/v/o9PV4Sv6AJ3lF23U eyfaKcVMYVnzqcex/eGEc6wiZwfkCLMXNdGfkplDcq5hal9Gda9403GJT7e+O4uHP6+D JuiLI+f0v0u7allPfUs6n5kWR9pIAdBDMNv3KPdAYJv+Pm6z/NLa10W6FsAFG5VDSu5Z sU5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=XXRWq9LzaWJldDlLUORe5CRUYm2s2hhDXWkS7OTa4Lg=; fh=RnAcZ5S3QbI5bnhCNpMa4MbHLWgdkHimnSTDETBsS/E=; b=i8j/wHLorLawbbPWyTD9ah9xQs72B0Nfo0lNkhWg+RvT9b3KZY3rYnRLmd3He+RetY 5saDWVaoNfvEyeOFWL+ZS3l24//3x+AJV/o6nmrjPDIXjQtpAOFviMXDMJ3v2v5FvPDQ tkoad+rnHWbaUfAjB+CMAkaT/SmwhKFgDWFqb1Dg1pYB+v8TlfMhLMIm1Xu2XvKJHWcg f+eBlKUu7ogaTA4Tgv0E/7QY/qt4q5QLn8NPnq56TFbdSGFaY+l8m21xYb6Mvqc8WAJu AHutJuZLO/A98JAwR6SH+azhzoQ28ykj3vlutNd8CPxbZgbolTBoE5yCN3RBpIhDgc7e 2WKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=mrK4AxRc; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-80540-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i191-20020a6387c8000000b005dcbbacc92esi3127690pge.872.2024.02.25.20.13.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:13:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80540-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=mrK4AxRc; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-80540-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 37EE7281FD6 for ; Mon, 26 Feb 2024 04:12:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 639001B27D; Mon, 26 Feb 2024 04:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="mrK4AxRc" Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A59C717BC5; Mon, 26 Feb 2024 04:12:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708920756; cv=none; b=D1r3MGu+OnPipM47h/ivV0CGN0oY3qAEPAixZAJA9RsowZNLwI/IbSlvWO0Kc9erETtIaYUSwWr6C4NNyeyz6ZulBo93vsBMEEKZSVPLV7LQlp0qdOcCNleP/X3TXdo7rXih+NLlcL0mJhQ3rRN7QVG956bhum5t7wdpqCVMhAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708920756; c=relaxed/simple; bh=Pe94gA4uf1vHFYSF+mnEFT0ytZjmWjUodzwCgag62eU=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=S+i0L0I9hMvsN1bu1CFPxvS5LcrTF2t/7GjByAvxVDAGZJRTgBD5hsVCNzw6x73e13d7uMHjeFvjAFdYcX/Kc1RZChEYlOpaDKhu+y5yGBysRt32D7umRsNC3X0Lvl/9rrNjcdYgNWRe0wGbjL3HrzxLKqTYI+R9QlRc3yKifYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=mrK4AxRc; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Received: from [192.168.68.112] (ppp118-210-168-240.adl-adc-lon-bras34.tpg.internode.on.net [118.210.168.240]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 85F5A2014E; Mon, 26 Feb 2024 12:12:28 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1708920752; bh=XXRWq9LzaWJldDlLUORe5CRUYm2s2hhDXWkS7OTa4Lg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=mrK4AxRcBQAiIKCOPTCJmIVgne/8nIuXIhpXuCDvYKC2xvr/0qonrkIXrDVMHnkfV SJpQ4glDbG8r8ZjSpRe+DY6Ey7JhHXhfcfOaTTqNev7gE4fsswYgJPcRwqQuMxQUhh BRsglrzdRY+rIyDxyE3sHLuSt/KMh5558ntUPdudvw3DoZIN56Eblru48iBTPsNITc /m0B0b/q1uA3uO0RcplIh/4kxIWbI6pxJ4/lCg3g7iwcqHbLU8D7m5H3O8ChcCltuz o55K+LzKWT+TD7MkYpfONNShG2JzgYB31QHJBUSVedDncb82YdRV5cKQoSRMIq7zBB //zPm9ZLM1GHg== Message-ID: Subject: Re: [PATCH v1 10/14] serial: 8250_of: Switch to use uart_read_port_properties() From: Andrew Jeffery To: Andy Shevchenko Cc: Greg Kroah-Hartman , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-rpi-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-tegra@vger.kernel.org, Jiri Slaby , Joel Stanley , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Al Cooper , Ilpo =?ISO-8859-1?Q?J=E4rvinen?= , Paul Cercueil , Vladimir Zapolskiy , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Andi Shyti Date: Mon, 26 Feb 2024 14:42:27 +1030 In-Reply-To: References: <20240221183442.4124354-1-andriy.shevchenko@linux.intel.com> <20240221183442.4124354-11-andriy.shevchenko@linux.intel.com> <0a828f2c50de712940fb9a881702ac1678a35b7c.camel@codeconstruct.com.au> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2024-02-22 at 18:47 +0200, Andy Shevchenko wrote: > On Thu, Feb 22, 2024 at 06:43:08PM +0200, Andy Shevchenko wrote: > > On Thu, Feb 22, 2024 at 03:23:24PM +0200, Andy Shevchenko wrote: > > > On Thu, Feb 22, 2024 at 11:07:05AM +1030, Andrew Jeffery wrote: > > > > On Wed, 2024-02-21 at 20:31 +0200, Andy Shevchenko wrote: > > > > > Since we have now a common helper to read port properties > > > > > use it instead of sparse home grown solution. > > > >=20 > > > > I did some brief testing of the series for the Aspeed machines unde= r > > > > qemu, building them on top of v6.8-rc5: > > > >=20 > > > > export ARCH=3Darm > > > > export CROSS_COMPILE=3Darm-linux-gnueabihf- > > > > make aspeed_g5_defconfig > > > > make -j$(nproc) > > > > qemu-system-arm -M rainier-bmc -nographic -no-reboot -kernel arch/a= rm/boot/zImage -dtb arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier.dtb -in= itrd ... > > > >=20 > > > > I got an oops during boot, which bisected to this change: > > >=20 > > > Thank you for prompt testing! I will look at it. > >=20 > > I found the issue, will be fixed in next version. >=20 > Whoever is going to test this series, the >=20 > - port->iotype =3D use_defaults ? UPIO_MEM : port->iotype; > + port->iotype =3D UPIO_MEM; >=20 > should be applied to uart_read_port_properties() implementation. >=20 Thanks, with that fix applied it works fine for me also. Andrew