Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2208650rwo; Thu, 3 Aug 2023 06:23:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlEq7vcN8iHOkS1MmedrG9JGQvOZoOYV7uTqreUIUZdsaaeyNC6PpbaToGpbDuGzZQ+rt/G4 X-Received: by 2002:a17:906:749e:b0:99b:e2e6:dcb8 with SMTP id e30-20020a170906749e00b0099be2e6dcb8mr6945996ejl.72.1691069013312; Thu, 03 Aug 2023 06:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691069013; cv=none; d=google.com; s=arc-20160816; b=mohBKyagN1MQBVLsW5Ti/x5tJUQLX++OSYuHERAcIfuaORceknEeytq+XMDPKqUXzd MZ2mbvMGzlE/kWw4xot+7FD11Mc/IBTMVhYxqOm1+sZEcL8ghdisXx0zjQVdV0iKdSx4 oovGw4zOzSvlAKhWKWO3/FCMNy7tvbI5Ok/1yYC6CI8nGLIb2RLq+AgGGoAm5+PkUekD 2NSzLypZruBsGRJuO9T0Pw9O5gZ9gT2fhX6uu5/POPC8A1WK4YY+rNVP1OVBLqmPWWjG vupySvy2ThcSjfC8q2noGGjOsd+VpdtiN1JmQvmDNt7xTq4xsQIXMW0tnuAeDEc3xJxb 9blA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=pmffhPto1y3p2p3k3/BNYnpxKfDXezrJ2Xj+y1N4yyQ=; fh=8/YYQwN7429VmFAT6vtHDUN7GVLGtuQVDQQ5LrnUy1Y=; b=ulJAS59P3gT3hXorEpHRYWbM11ShUw2mSLijRklMd4R5F0NIADmEFJJ+Um+A5POGnJ y3gfSoIIP+gi6s9/ufhudn0dg1dkGbbwaZ3P8Py9uRRZSN69j45gvkoqtMdjAMKsFocl nnla9PbmdnYBB7hvlaVslo4EMVCFElkMSx8nVv/iCMeb+v4xHgzqauKbUePdKkkHXL7G w3HdBsY17TFwUFpRL/azCgjKCEy0fBgHpzPNqby4rwzPwutF+tT4crUHZq9V84GO2yxx uZoQs78VBA+PvuEd3P66XeyUkolmI0aqDVOmzjp+UHX7KPP2WHcJCADY1KswhXUK1xGv iNKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YpR+dH2O; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t25-20020a1709066bd900b0099270bd1b10si2158055ejs.208.2023.08.03.06.23.08; Thu, 03 Aug 2023 06:23:33 -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=@intel.com header.s=Intel header.b=YpR+dH2O; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234916AbjHCLkO (ORCPT + 99 others); Thu, 3 Aug 2023 07:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232996AbjHCLkM (ORCPT ); Thu, 3 Aug 2023 07:40:12 -0400 Received: from mgamail.intel.com (unknown [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BBA0272A; Thu, 3 Aug 2023 04:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691062810; x=1722598810; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Dd/pEIvh1vm5WdGjLrClzQBU3IOusOV95Grmu8xadFg=; b=YpR+dH2OjRfoUz48D3lxNp7qWvxdOK+xQonSIr7PRUFclSQ8fD4uPI7p 7vNojSoaNKRU1Fb4xZza94ig+SUOqY9RIng9X2a0yL8KAHKjw3+9gqO/9 LtJNVKHaORRdgYjrwp1YlPUM0IUTV87KPd/v2IA2zrsy/ZuwoH0wDi4Bw bzrnXD6+9snfg3IUZJZjPsNvQFx6NqTs8GYo816bFPnjgJTReTg6Q8Yvw mVe7d66XXWtc1/+BSrTjKqFVpbcuDSEGfz4z07bDnzVSEuzL48N9kjkcn kdmtCI4Q64HZkM5spPysSaCBYyfDj6DQ9ixUTG61AffZI9NVazKeKsG9A g==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="373479426" X-IronPort-AV: E=Sophos;i="6.01,252,1684825200"; d="scan'208";a="373479426" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2023 04:40:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="723190547" X-IronPort-AV: E=Sophos;i="6.01,252,1684825200"; d="scan'208";a="723190547" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007.jf.intel.com with ESMTP; 03 Aug 2023 04:40:06 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qRWgX-00AYix-0s; Thu, 03 Aug 2023 14:40:05 +0300 Date: Thu, 3 Aug 2023 14:40:05 +0300 From: Andy Shevchenko To: Conor Dooley Cc: Jisheng Zhang , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Jiri Slaby , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: serial: snps-dw-apb-uart: make interrupt optional Message-ID: References: <20230802150545.3742-1-jszhang@kernel.org> <20230802150545.3742-2-jszhang@kernel.org> <20230802-halogen-bungee-63273b2c456c@spud> <20230802-risk-getting-e6005e86be81@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230802-risk-getting-e6005e86be81@spud> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,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 Wed, Aug 02, 2023 at 11:53:59PM +0100, Conor Dooley wrote: > On Thu, Aug 03, 2023 at 12:57:44AM +0300, Andy Shevchenko wrote: > > On Wed, Aug 02, 2023 at 04:43:48PM +0100, Conor Dooley wrote: > > > On Wed, Aug 02, 2023 at 11:05:44PM +0800, Jisheng Zhang wrote: > > > > The driver fall back to poll style when there's no irq. "poll" still > > > > looks better than no support. > > > > > > What is the user for this where the interrupt is not actually wired up > > > in the hardware? > > > > FYI: kernel console doesn't use interrupts, so for example it might be > > the debug port. Note, I have no idea of the Zhang's case, just my assumption. > > I'm less interested in what the software is doing, it's what the device > that has not connected the interrupt is that I am curious about. As I said. The hw may be purely for debugging purposes (and yes, I have heard about such a hardware). -- With Best Regards, Andy Shevchenko