Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1319369ybl; Wed, 18 Dec 2019 16:38:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzoWQImzTrtitXSbue0FSsqDD3c8/2ykBt8w1nX1z5cMoIw71HeQJyWBk5eEL+2Y6+mEh97 X-Received: by 2002:a9d:48a:: with SMTP id 10mr5313696otm.95.1576715928769; Wed, 18 Dec 2019 16:38:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576715928; cv=none; d=google.com; s=arc-20160816; b=xmWB4QDaZqIbxdjVQ8e+ljc/jjyyiHj6iW8I377bEG0YEdnQJu/27fKxjGmR6285t4 rDSxrmaT2ldVPt9vXmWCCo1O58LakH2jIdDUIfSjyfzjjVIoor0dxEE5rt/zVKIj9wwV Lsg2SXAUEiFBa9v+PfsACTQSVMuTVTbYHNZlqp29gKAq+JTpTxGRjkmI0w23CurX89JN QZSRCZ8HqMW4oWtUVX9MG3Y2eZFS7gO6RmDa56VytqgN6BLALdo5dxpxRx4Yxfb+Ut6D TmQLXiKoXAjz2qWV3xjMAVRVV3epBBiqH+GVFX0x/2/Azkvv5psurTcXGc4rGRc3/P2l vajw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=b6ZlSEZX83op+Ab8qkOUM8nySk7v+PaFWFQqpUK0JyE=; b=AwVyAvFxNuRssZaWXuT7hDH4w/XVxciQbP+YjFtgkYL9q4toAw7BRHPEr7P0rEGQ84 t6i6ZBUvLSwtzTUpc0ZaT9oOnsusF84J8WOl2+mEkY/Z/bfExsd0fKSa8CfKffDVS7Jp 0jAF0BDM0bEL2FXcm1uAakyNNq79lURfEuYz15UFrrwnGY5R/BNp9NKg20ajOpNj3jpf DXJMXxz+SjEqR06wssHNeEUojJEr102Xw4TGfpZLbMn76E2j5SIEjLFzoCPdztQRHg5v A9gvp05m5NbAwAyGO2aE8RqlCVlAUHCVdZJyCWj+SNhfz6BXW1LXHOvaXkpMp+wOm4B6 zmKQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n137si2292593oig.127.2019.12.18.16.38.38; Wed, 18 Dec 2019 16:38:48 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726829AbfLSAgz (ORCPT + 99 others); Wed, 18 Dec 2019 19:36:55 -0500 Received: from mo-csw1514.securemx.jp ([210.130.202.153]:48690 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726463AbfLSAgv (ORCPT ); Wed, 18 Dec 2019 19:36:51 -0500 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id xBJ0aYfM008093; Thu, 19 Dec 2019 09:36:34 +0900 X-Iguazu-Qid: 34tKGlJZZqk6vL4KLA X-Iguazu-QSIG: v=2; s=0; t=1576715794; q=34tKGlJZZqk6vL4KLA; m=SwoY/TSCZoTPn4z9YK3xPmEM2rXSGc3P6PU8pEkguk4= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1511) id xBJ0aXjQ029406; Thu, 19 Dec 2019 09:36:33 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id xBJ0aXh7020534; Thu, 19 Dec 2019 09:36:33 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id xBJ0aWCm015498; Thu, 19 Dec 2019 09:36:32 +0900 From: Punit Agrawal To: Hans de Goede 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 Subject: Re: [PATCH] serdev: Don't claim unsupported serial devices References: <20191218065646.817493-1-punit1.agrawal@toshiba.co.jp> <096046b6-324a-8496-8599-ed7e5ffc6e3c@redhat.com> Date: Thu, 19 Dec 2019 09:37:23 +0900 In-Reply-To: <096046b6-324a-8496-8599-ed7e5ffc6e3c@redhat.com> (Hans de Goede's message of "Wed, 18 Dec 2019 11:05:40 +0100") X-TSB-HOP: ON Message-ID: <87eex1noak.fsf@kokedama.swc.toshiba.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > The basic approach here looks good to me, once the minor > comments from other reviewers are addressed you can add my: > > Acked-by: Hans de Goede Thanks! [...]