Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1665397ybl; Thu, 19 Dec 2019 00:31:54 -0800 (PST) X-Google-Smtp-Source: APXvYqyCATbAF33TyD+Wjyj/9N1OtUtlboVbJ1ODXb2VmPO7oiRxNN7WQNVrIH+A7g60lWL3+1pu X-Received: by 2002:a05:6830:15a:: with SMTP id j26mr7219503otp.137.1576744314146; Thu, 19 Dec 2019 00:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576744314; cv=none; d=google.com; s=arc-20160816; b=Z4EVo//kMYr87+sVkgPlkDUZVShp3HlmDuiq1fUBBymJqpAZAt3OWcdCMs6jwTd/mG mz3ZGU2tiMg47fnP5AV8zGz9cvuCRzUtfX2IwDoSHIyBGVW3jEJQCWZAsJWtBjiXQH7l WbxoEErUIBV7+7WzdtSJK+SMvcD/ap9eV5pjYGHzapcRgKdMBUicNtbBUJodtH5Ekpd0 zd/f2SrQZ5DhWriUEqBgu/8fhNbq1B5lNE3zGXZCex/hZL5hdOr+DHMu7QquLEuwO5kA hbh5BFeHdV4pZ1PY82bDbtlZ4CclNySmGSKaNJBIvTj0YOmolRgCwm8Q+9Rv1Ry37BKU Y6Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ewCaJOfBy9nGeq4Yo9i7Tisg8do5u5i6meu8ilRSTEg=; b=cgR1YKI+QZdj2gsdk6V5WEKu3k5f3O5eLFP1VtLNML8qJQkdJv0uyCAAKQsG0n14pN /Bi1Cwqn4eJvXC7fnboCg15sGivAj4pErxOdlq7PSWiKaeze1DOzoHAEN1uc1bdKV4sz 5wnKOD+3EL7ivjxGLlHM02uPNzljlZBtJavCLdfeQdB3ky74jHR9ISe3DaOiSMahIeNQ dpxtiZAWVJdpEdWXD8ccdqccOcpO40YNIrymlhgm1R195SFD6bwJObfpTlymlc6BIQGv 1UXf07unhccFGz3GG7bqTbrAAZtbnFNIeUjj1YrDtOGhqqsvWoCAoXmYiUGrN/yXIoDm Yw2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AcYqS8G6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u132si2775365oig.93.2019.12.19.00.31.42; Thu, 19 Dec 2019 00:31:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AcYqS8G6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726656AbfLSIau (ORCPT + 99 others); Thu, 19 Dec 2019 03:30:50 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:54728 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726609AbfLSIat (ORCPT ); Thu, 19 Dec 2019 03:30:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576744248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ewCaJOfBy9nGeq4Yo9i7Tisg8do5u5i6meu8ilRSTEg=; b=AcYqS8G6ARWDTs6BdzFV43vMMHQ6pghjTMuk8u/2Xl+2Ak48mzj52Q9i0LH86yJ6WXkbHI ld3N7C/FRsDL377MWO7Qitp5UXF0retCXBiBpKUm7YPkeo+aYioSapsM9XPvrKANwSnW4E ZPKSEfAPcqlrXNUeABnRLMYGatXLVZY= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-303-h0mgv-GBMdKdrvS_ZDI-TQ-1; Thu, 19 Dec 2019 03:30:41 -0500 X-MC-Unique: h0mgv-GBMdKdrvS_ZDI-TQ-1 Received: by mail-wr1-f71.google.com with SMTP id o6so2057707wrp.8 for ; Thu, 19 Dec 2019 00:30:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ewCaJOfBy9nGeq4Yo9i7Tisg8do5u5i6meu8ilRSTEg=; b=NIzqBhek4q6gQP366KuuVRCYCza/4ve6kwQsEKwL8PC2Zyx/ZBN3gky0KTDe9nbKfW MLVjVz6aI5MkgueVw6rSz7zBjjGa4gS+udyUlzVMel8KzwLaHJesmQEUy/q8Gvyx9H9Y ZMpfOJ787XLEt6FfW2501ckDUkywnl+eZJER0z9ZzATHes3daU/hsC+y5F+wEJcwGEAw TpS82iPNRmercz6TE4dxZ2/NvIaPdUUYnL8HIa8eXKStfWdj7KZErDd3iJxLhOMYXyOA zndKbzt6OdNt63kl7CWfISyGs/ghcyZJlgbF7zz6G6+kgoJljqIxgULISAQXFFyuwCkO Bfcg== X-Gm-Message-State: APjAAAUWoYe9o/yGrr1eCQKHXFDeMFiBvUP2dZvzVs5whI/GpBjzU5Pa gVRWpbedxCUGDQ/nZWNMGUd4BLjXXTj3eu/Tj6qTMtG3Eipk6/j8gEsLkI2npCD2TirJ1ehPg1T dzj+1dT2dCdBlB2pgW5LAh74C X-Received: by 2002:a5d:5708:: with SMTP id a8mr8421054wrv.79.1576744240550; Thu, 19 Dec 2019 00:30:40 -0800 (PST) X-Received: by 2002:a5d:5708:: with SMTP id a8mr8421038wrv.79.1576744240393; Thu, 19 Dec 2019 00:30:40 -0800 (PST) Received: from shalem.localdomain (2001-1c00-0c0c-fe00-7e79-4dac-39d0-9c14.cable.dynamic.v6.ziggo.nl. [2001:1c00:c0c:fe00:7e79:4dac:39d0:9c14]) by smtp.gmail.com with ESMTPSA id e6sm5586381wru.44.2019.12.19.00.30.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Dec 2019 00:30:39 -0800 (PST) Subject: Re: [PATCH] serdev: Don't claim unsupported serial devices To: Punit Agrawal Cc: linux-serial@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, nobuhiro1.iwamatsu@toshiba.co.jp, shrirang.bagul@canonical.com, stable@vger.kernel.org, Rob Herring , Greg Kroah-Hartman , Johan Hovold References: <20191218065646.817493-1-punit1.agrawal@toshiba.co.jp> <096046b6-324a-8496-8599-ed7e5ffc6e3c@redhat.com> <87eex1noak.fsf@kokedama.swc.toshiba.co.jp> From: Hans de Goede Message-ID: Date: Thu, 19 Dec 2019 09:30:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <87eex1noak.fsf@kokedama.swc.toshiba.co.jp> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 19-12-2019 01:37, Punit Agrawal wrote: > Hans de Goede writes: > >> Hi, >> >> On 18-12-2019 07:56, Punit Agrawal wrote: >>> Serdev sub-system claims all serial devices that are not already >>> enumerated. As a result, no device node is created for serial port on >>> certain boards such as the Apollo Lake based UP2. This has the >>> unintended consequence of not being able to raise the login prompt via >>> serial connection. >>> >>> Introduce a blacklist to reject devices that should not be treated as >>> a serdev device. Add the Intel HS UART peripheral ids to the blacklist >>> to bring back serial port on SoCs carrying them. >>> >>> Cc: stable@vger.kernel.org >>> Signed-off-by: Punit Agrawal >>> Cc: Rob Herring >>> Cc: Greg Kroah-Hartman >>> Cc: Johan Hovold >>> Cc: Hans de Goede >> >> Thank you for addressing this long standing issue. > > I am surprised there hasn't been more people complaining! Maybe even on > x86 mainline isn't that widely used on development boards. I think it is also a case of there not being that manu x86 development boards. Regards, Hans