Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 AF99453373 for ; Thu, 2 May 2024 09:18:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714641505; cv=none; b=epu56cxa93o/x09kJmy7PQNEauDAVR15uqwYq6Y5ouMtu/IO70QZcSLe1gbGEpE3EgGzVLXbIya74lGiUIHJQ0CA3ZD6YG1l8o00MLQ08go96N0qeqBIBkC1Sg+gZ957v82AIM+U3AgsrfTnEC6CawJixL/nSvfHY1uxYZTZNL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714641505; c=relaxed/simple; bh=a/QufiF272o3DvR0cKkQMFkYPKhS35DQjuKoUIBYmTk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SEKEY2BM4wh8Np0eB9jza57Iv9HdGgCY2grnJRixp5zNox4IRT+j1W1R0gWrphsfD2lfLfdoZsLnJPvSoy5bq/HGgV/ICk75kmBcGNEFxIeHNy7S/1HbD1xWL7XeHke12FTtbKoLM02ey60MfPi5fXKFMT5kY96VPyx8Q12/6/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=BmeN6FjY; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BmeN6FjY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714641503; x=1746177503; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=a/QufiF272o3DvR0cKkQMFkYPKhS35DQjuKoUIBYmTk=; b=BmeN6FjYeDIUDPKzTs24qp3ck7eW0N2JdQa+AA8bNoPXD8U7QIBzmIyS 6GrFI7CSvJ5ixavH/2ulXav6asQwsSGlFV8o/WpzxG1Cn3RiPlF5U9Pap V58Gt/Yk94aU4ICAvDlboRuyKlkMKKbsNhulXklHcq0XMSzKDEHlf4OwX Rdptd+c3ySHU2kDP4S87j+AISBPoNK3yNPjtYuHc+Eu7RrbJ3HnWfQTDT F+Rh2PJQ8ju0uatt9JqcpNvpo/ve4S6aKHuN+L9QqbiQCg0isJJP/spX9 Us4U+ctMr6dsR3OLVT0Lh460Brr4FUGzVT6262K1kf8OZbsNwdw9ru7Hb g==; X-CSE-ConnectionGUID: xjZ438D/T5Sh5NlE9cFeCg== X-CSE-MsgGUID: S/WNPEMhQD6Q0uqr4I+3jA== X-IronPort-AV: E=McAfee;i="6600,9927,11061"; a="10274158" X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="10274158" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2024 02:18:10 -0700 X-CSE-ConnectionGUID: weq2NrOvSyClDOUB0O6Igw== X-CSE-MsgGUID: iZzhZm4ZT9S/eDC2HeXt4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="27142469" Received: from smile.fi.intel.com ([10.237.72.54]) by fmviesa010.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2024 02:18:04 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1s2SZk-00000003GCl-0xR0; Thu, 02 May 2024 12:18:00 +0300 Date: Thu, 2 May 2024 12:17:59 +0300 From: Andy Shevchenko To: Sunil V L Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, acpica-devel@lists.linux.dev, Catalin Marinas , Will Deacon , Paul Walmsley , Albert Ou , "Rafael J . Wysocki" , Len Brown , Bjorn Helgaas , Anup Patel , Thomas Gleixner , Samuel Holland , Greg Kroah-Hartman , Jiri Slaby , Robert Moore , Conor Dooley , Andrew Jones , Marc Zyngier , Atish Kumar Patra , Andrei Warkentin , Haibo1 Xu , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= Subject: Re: [PATCH v5 17/17] serial: 8250: Add 8250_acpi driver Message-ID: References: <20240501121742.1215792-1-sunilvl@ventanamicro.com> <20240501121742.1215792-18-sunilvl@ventanamicro.com> Precedence: bulk X-Mailing-List: acpica-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240501121742.1215792-18-sunilvl@ventanamicro.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, May 01, 2024 at 05:47:42PM +0530, Sunil V L wrote: > RISC-V has non-PNP generic 16550A compatible UART which needs to be > enumerated as ACPI platform device. Add driver support for such devices > similar to 8250_of. ... > + * This driver is for generic 16550 compatible UART enumerated via ACPI > + * platform bus instead of PNP bus like PNP0501. This is not a full This has to be told in the commit message. Anyway, we don't need a duplication code, please use 8250_pnp. ... > + { "RSCV0003", 0 }, Does it have _CID to be PNP0501? If not, add this ID to the 8250_pnp. ... P.S. The code you submitted has a lot of small style issues, I can comment on them if you want, but as I said this code is not needed at all. -- With Best Regards, Andy Shevchenko