Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2602535lqz; Wed, 3 Apr 2024 03:09:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCKLvb4E9Gzn5EQcwCZzCc+R6GWa23Q8T2qpTqnHeqrhA7RAtNhB6J2bj3KI38NvHpcLDlZi2DmfHVBdVBzTUcq6pZgx/aidrQE1JRqA== X-Google-Smtp-Source: AGHT+IE3xVWF9gKEivsY7sp1cjioKPpx4Ex3Rp8nSmE5eUPdWY1BRk8pHikKe0duMOt99GULR5Xf X-Received: by 2002:a0d:d904:0:b0:615:35e1:e50d with SMTP id b4-20020a0dd904000000b0061535e1e50dmr3635574ywe.20.1712138972369; Wed, 03 Apr 2024 03:09:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712138972; cv=pass; d=google.com; s=arc-20160816; b=AMbWZRKyE+NFhVuF2UcOWBHG27FXM2cTGhLPd7+YhOZVpoD4b3vHDU+9c5fM8zdHEG UWC1kMGwCNxzMBwwjrYkCbBJJ2JwaWmV2kbolY+w9LWKfgLlNLSES/rIWrbzxZc1XiqZ xHVKv5atmPWrI4g2VznNZm4psLkP7P4tH9pJliXxppJDPABo0HoaIj7zCZPu+jl4muva 8W42cEMSHd4vpxkTv4aW7eTs890x869K9SfR5nLLnrZ+79wu89/9Zz9jp0MlsH9G53lR NUvCxdoS69mrxE31AexKOlbTMx2m6d147XW8ds6ZCE+K1UFoYeQPGg58CrwSXI70d3wo Ummw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=6suTRZhNLGHEGrgkV8ZMFZmDsIJMrQDt2REYO2fA868=; fh=wir7JftOolQc0j081W9+SV7vYEoE1ue6pYsqZDAq+44=; b=ix77484/Dq0GhNpyKRc0/+5nni8qTc/jYrggi2HeCdjxuRPsqM9B71PwTH/W8GSjTH MK5Ak+ihcAW7ecFjpj3bHr88hmQN5RzcuBsAhcB0CejcFttc2e0+U5tdf87xj17e+Kk1 3EpuC1KOV4b9x4ta/8sV7V+bGRPzotjrEzJtzg5S/mLkxjcHKjQlOOqC/vG8wqZjKTqq /zEk6leRzNZTHsedmU+t+H8CGFXz67RndcX6X44uybEyWQUJuTp+uQOQ+4oB08O+u6GK eHH3dwrMMNrzGsFONqP/M/vhcWu3raVs0kIq2lh8QZsSs3VJyiZNFToIfIg5T6NgokEE v2ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aBu+BO9i; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129501-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129501-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dz20-20020a05620a2b9400b0078bdf771c20si8361585qkb.148.2024.04.03.03.09.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 03:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129501-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aBu+BO9i; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129501-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129501-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 468E21C270D3 for ; Wed, 3 Apr 2024 10:08:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16167135A75; Wed, 3 Apr 2024 10:06:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="aBu+BO9i" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 B8097135A6A; Wed, 3 Apr 2024 10:06:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712138791; cv=none; b=uIYTQ3lHtZGWGgvItpeJMbHnZ/A4+TCpewhS8Y/FrJ1c9IhJzKUqD9idS39R1rmKTuSMwDCZnYtZquFc1QBGaXAV9aQ9j/X7X/t1k8VVrgfbEXRR7DNWwNg00U4PqIwk7agy2VQ502bhdzGf1vb9cgeRMhMkjh8pTnOztL5Ltx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712138791; c=relaxed/simple; bh=MI2M5rQfKaNY2xZjsF9iyBaiS7tf62zw9KTvIfXjUD8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=famHnYqyIRtPOGTQ9W/JAVbqhmM/keH0slT7ovc44H0Ac7j2s9ED1scNTucfaSkbs2PRjrVuxKae+7jge/k8rUkLcUeSTjxWMVP+q3dgtVNxKKXUO4MR18p8xeKsE6NgvJMTKn4VBLcz3oyclWsZA+/R0p59pSLCra8OXHguYI0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=aBu+BO9i; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712138789; x=1743674789; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MI2M5rQfKaNY2xZjsF9iyBaiS7tf62zw9KTvIfXjUD8=; b=aBu+BO9i19+s7bdKXy7QAHKoo9FSf2VUOmS6gNJB/YGJhXDgiNVGidk6 p7U+s31lcUrDL9+b9e5Cns9Wc9e/W7KaWgNo4itvomd4Dii4rPNgLLBuL 2FoT2bIpXpOhjJx1ZOpbOx+fbRvK/nH/w+DUNAJE3h08uByqyd2p934iH rWYFYArcSC5pzrYuaqvpmmHpvCke0d+cgiHMdMmnRDKTlI+AI7gYQFNaM A1x3RCfjyxVNGMQ4ioiUEr4NBM7g+sHd6pySeAjOi/h0oWO+6iAe4lwr4 H0qTBNhg5+LohRDfrVQe4tOV1zsws7ficw1sIj6Zf10V9eEAJHg04dvj6 Q==; X-CSE-ConnectionGUID: uKhKitudR3+lHBMUu6dqjA== X-CSE-MsgGUID: vZFnNpkNSqKNZ+o6uhRuhg== X-IronPort-AV: E=McAfee;i="6600,9927,11032"; a="7485692" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="7485692" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 03:06:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11032"; a="915177304" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="915177304" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 03:06:25 -0700 Received: from andy by smile with local (Exim 4.97) (envelope-from ) id 1rrxVe-000000015IG-3o3B; Wed, 03 Apr 2024 13:06:22 +0300 Date: Wed, 3 Apr 2024 13:06:22 +0300 From: Andy Shevchenko To: Guanbing Huang Cc: gregkh@linuxfoundation.org, rafael.j.wysocki@intel.com, linux-acpi@vger.kernel.org, tony@atomide.com, john.ogness@linutronix.de, yangyicong@hisilicon.com, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, lvjianmin@loongson.cn, albanhuang@tencent.com, tombinfan@tencent.com Subject: Re: [PATCH v4 2/3] serial: 8250_port: Add support of pnp irq to __uart_read_properties() Message-ID: References: <20240403074130.93811-1-albanhuang@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Apr 03, 2024 at 12:54:19PM +0300, Andy Shevchenko wrote: > On Wed, Apr 03, 2024 at 03:41:29PM +0800, Guanbing Huang wrote: One more thing, the Subject should start with "serial: port: ..." And also should have PNP IRQ (capitalized). > > The function __uart_read_properties doesn't cover pnp devices, so add irq > > __uart_read_properties() > > PNP > IRQ > > > processing for pnp devices in the branch. > > PNP > > ... > > > #include > > #include > > #include > > +#include > > Keep it ordered (in this context it should go before property.h). -- With Best Regards, Andy Shevchenko