Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1876052rwb; Sun, 6 Aug 2023 05:10:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8JxcgNcRKKEQBn5y96yE6bVLvFLN7SAP/dGWZOjX9ObPhg1xK46us3p4D7TuTt77mCVXa X-Received: by 2002:a17:906:5dd9:b0:99c:d069:d1e with SMTP id p25-20020a1709065dd900b0099cd0690d1emr1306417ejv.46.1691323837524; Sun, 06 Aug 2023 05:10:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691323837; cv=none; d=google.com; s=arc-20160816; b=0zisEbGuCkF99sXhqNO7pF/wo05yATP2u/CIJKUqC2hijVL0p1Pbi8EDvgO/kaxcon ZVe1+L2HY4YHDWm5Wkb9uhCcuLUI7sTF1mdU0Zy/Q4Y8pLIj2mC5Wq5OVsdZCbNcVa3T YqiFH8QJeYkWu0QKHHBdC2j/NknSn/7hhipV4nPET9BVvMlKnLLNawr4mh0beteCHXh6 WzBvgVlfQCBgPcZmhIiIRWxFnFNjGVgSNHNIWhrPRDiLSgIYdT69knd2KmSJ78AM2Mja H9Qsbk9fIw1KZdEARf4yYR/Vtt5xk7yMiWeMF4LVezibWXs8jQwaeuNzYTA7GTV7g9s7 a8gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nTmkZ5KM5FC1TsWOYhtb0Q1UphYCHXxmn5ZHVL4gZ2w=; fh=J9YgOT/QOWYjm2xpUmE+eRePbYITTtlju6IMYRbW5O8=; b=dHmH5mzXAoiYWVWKT20c0Cp03/+/YwhSQPcN28qbC+YBzRssM4jLMj21IOTBwRrPoJ TzPd3j/SpYZGr0e9Na0KCXL1ZQv4ZGVt9dJQu+Nx5eUyjdjsOdlue2viTm8pd6F5edQj JY7Bz6pEyQ0y5GkDNSccuWERBoPMColL9O+zUPUVpnwyZ6fzLgkfBUGZA77jk4MRLS76 uqnLc/6646TZPljoSfhTIP7Lh1bLA4dgGmtNAp2NyFrhVVJtNlN/c8aIBcDTpbSePHC5 UVcKeuJE+jxeIeDk3AhwHgT3ZiGhRV7xQjr/OyBkxQucrctOc59SVZWCa635IeTvd1oX mLEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RQM2gANf; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020a17090669d200b0099bce4aa77esi3501643ejs.941.2023.08.06.05.10.11; Sun, 06 Aug 2023 05:10:37 -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=@linuxfoundation.org header.s=korg header.b=RQM2gANf; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230284AbjHFKUT (ORCPT + 99 others); Sun, 6 Aug 2023 06:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjHFKUR (ORCPT ); Sun, 6 Aug 2023 06:20:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C981F19AF; Sun, 6 Aug 2023 03:20:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5EF2760B7B; Sun, 6 Aug 2023 10:20:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30056C433C7; Sun, 6 Aug 2023 10:20:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691317214; bh=JS7SbQltzXmLLHZXOJHcS/NlOPGxdeIhj38NQNHwqaU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RQM2gANfMD4mem5dZ6lBPkykA/uSRX6aQVocic5ePnw12eeWRjHzFhObY3Ydn7OXe AfpsZNow0h2nIkVF78B8016PQdAK9C5Wh9Dt+m43UTLzFtvDqNBr01y8j86AjeR5Or ekR8QpJU3J+PktbWbc8D6u5zc+utshvUHlW/6svk= Date: Sun, 6 Aug 2023 12:20:11 +0200 From: Greg Kroah-Hartman To: Jisheng Zhang Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Andy Shevchenko , Jiri Slaby , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] serial: 8250_dw: fall back to poll if there's no interrupt Message-ID: <2023080643-chalice-exploring-e7ca@gregkh> References: <20230806092056.2467-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230806092056.2467-1-jszhang@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 Sun, Aug 06, 2023 at 05:20:54PM +0800, Jisheng Zhang wrote: > When there's no irq(this can be due to various reasons, for example, > no irq from HW support, or we just want to use poll solution, and so > on), falling back to poll is still better than no support at all. Ouch, really? Why not just fix the hardware instead?