Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1943535pxb; Mon, 13 Sep 2021 08:39:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+z3YNeL5AutnuixkU/7ePsqiCoq3h+JQ6NsYu6jButjnZJAOB/M6iTj2FwqEGSb3Ne11e X-Received: by 2002:a6b:d617:: with SMTP id w23mr6988324ioa.89.1631547554174; Mon, 13 Sep 2021 08:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631547554; cv=none; d=google.com; s=arc-20160816; b=oKcGQ83ANb4uK25ciRT7c8DuedkOCNN3/jNDX+ea32tTH9KmlotFkY337YR9dNidw7 OXtNVFm99xZzBBUdWA24EbjBeZKo2t1VDF5JqaZqt5ZI0lwov+6mdvDzWHEP0NtHkDmz buyWiEfiRQZMmDwphGKZRUWOaD/lKaSllBKcKdexAEy8bHnsrxYfJLJlYpxJo1QAJ4c7 BjQtPRNkFRMEwXM74Fv0nOpgwNqlZlE5AIjozsQdge4Z04NyBkKlmVJbKH3h9JdKCBpf V4XLwB3Zzkr7H6iwAbyedIj4+p1CCJedVGycF/iFwWhV9j3IRQlzwYWBXb2qYlFa70Py 0Mbg== 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:sender:dkim-signature; bh=q4jWiRn0EuHca/77FmGUXr9JidHyCu6zqvvX4/H4GKc=; b=cMf72zj5kCvii1w9An16BrmQD7dU4Y4nccN9KHOkcILTV4UscAS8O7HrF1nDm5ukto TJsyU+03TTsMULFfUczgoLeKFSKre4SVuAIUuKvIVh7ox2PhaO/rnbhu3AiZ/wCJ4m2h jPhuJSiK8oCw0H0lkZCVtWqIFCsxdzgT+QmavrxSzXxW3oeziGdmdNiFTc6RR3jSmvCB oBdOHzeZz2Nd565LDBkloI9sP1wGWThTdNwa7oKw/ka6StG31JHqVqF8SPr4iJEJQCl+ TFIkDmX4HV6rTQdR/BiYYhtZyXJgTxjQUBTJ9ZCRqHRZd8n6atGHAeSKR0AdRGMUt4fN RWKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Oz4McVU7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si6933879iot.49.2021.09.13.08.38.59; Mon, 13 Sep 2021 08:39:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Oz4McVU7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241181AbhIMPhs (ORCPT + 99 others); Mon, 13 Sep 2021 11:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241525AbhIMPhn (ORCPT ); Mon, 13 Sep 2021 11:37:43 -0400 Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CE05C12D8FD; Mon, 13 Sep 2021 07:49:07 -0700 (PDT) Received: by mail-oo1-xc31.google.com with SMTP id b5-20020a4ac285000000b0029038344c3dso3470230ooq.8; Mon, 13 Sep 2021 07:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=q4jWiRn0EuHca/77FmGUXr9JidHyCu6zqvvX4/H4GKc=; b=Oz4McVU7NUlBp5WhDmQCi6Kh7HTc5Rl7MA17CpdMCeyAedY8PqerQ5ZMsO/oZQTcsq ebPiBeex7sZpeptcYzJqjjwz6CrqjN1Or0saJf+j4AYRMZlE99FzKEif5S14Ehj9nh3t O4MooFl+HRGB5LkqXqsakryHdEoj3qZoK7HykK67I0OTTEkZfLpif0em+R9t1LR5KSKI 3Y0hx5mRM2GJ6yxywzA5zISi0maQgwJZZr3lyAxVL+1TEq905c6zvmoWmm7RffqxhZwJ wpnn6Js5pBeJR40DrhMSD3euygHa1KIGBT6y6iv+JIIexebTrbLrolzv8kjSKR+p/wCa KWJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=q4jWiRn0EuHca/77FmGUXr9JidHyCu6zqvvX4/H4GKc=; b=6QXO7C1vYhJNFX0ArF/wqQZNqk2YhSmnTbvQINmx66P4oKVIapFE1LJFQsZaWAaDrX aa1kA17R8k7lfHv+4kCyvAzMi0W0d6oXi9XJeHn7rkwFAt9qVXILqc9ku5UdBvq+/uhz GY4Db/oqG4fM3Vy99oHSz7KwJmf+nRHpcyl3OGZ1L6hyEI+zNmBXkUs669Z5Ay0MBDdH ZqNM5uMGOMsNDtDbXUI56iiCJYRTzrkBlnQAbzPYoGOeGQ0Y7CuvteFU+4SG791QbPNM fR3kYtPQBDoKW1Ksm+53WNZlH9Q9AI3RgNO7vUHiXE4uBuNwEOOULQvA0ogsCtcVMNqA c0hg== X-Gm-Message-State: AOAM533h9tw4ZEeh1SyqATGrVuO/wk4sS6CkWyZ4fOxLbtERY6liyuNF 9e0efmxHRthche9cKRFYjwZatMQBIRw= X-Received: by 2002:a4a:a8c9:: with SMTP id r9mr9488940oom.49.1631544546943; Mon, 13 Sep 2021 07:49:06 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id b2sm1893686ook.46.2021.09.13.07.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 07:49:06 -0700 (PDT) Sender: Guenter Roeck Date: Mon, 13 Sep 2021 07:49:05 -0700 From: Guenter Roeck To: Viresh Kumar Cc: Jason Wang , "Michael S. Tsirkin" , Rob Herring , Arnd Bergmann , Jean-Philippe Brucker , Vincent Guittot , Bill Mills , Alex =?iso-8859-1?Q?Benn=E9e?= , "Enrico Weigelt, metux IT consult" , Jie Deng , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Arnd Bergmann Subject: Re: [PATCH V3 5/5] virtio: Bind virtio device to device-tree node Message-ID: <20210913144905.GA1267554@roeck-us.net> References: <454a58f998b0d16847d72a97b32192829fab2c8c.1627273794.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <454a58f998b0d16847d72a97b32192829fab2c8c.1627273794.git.viresh.kumar@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 26, 2021 at 10:21:45AM +0530, Viresh Kumar wrote: > Bind the virtio devices with their of_node. This will help users of the > virtio devices to mention their dependencies on the device in the DT > itself. Like GPIO pin users can use the phandle of the device node, or > the node may contain more subnodes to add i2c or spi eeproms and other > users. > > Reviewed-by: Arnd Bergmann > Signed-off-by: Viresh Kumar This patch causes a boot failure on sparc64: The virtio device no longer instantiates. Reverting this patch fixes the problem. Bisect log attached. Guenter --- # bad: [6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f] Linux 5.15-rc1 # good: [926de8c4326c14fcf35f1de142019043597a4fac] Merge tag 'acpi-5.15-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm git bisect start 'HEAD' '926de8c4326c' # good: [8177a5c96229ff24da1e362789e359b68b4f34f5] Merge tag 'libata-5.15-2021-09-11' of git://git.kernel.dk/linux-block git bisect good 8177a5c96229ff24da1e362789e359b68b4f34f5 # bad: [78e709522d2c012cb0daad2e668506637bffb7c2] Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost git bisect bad 78e709522d2c012cb0daad2e668506637bffb7c2 # bad: [7bc7f61897b66bef78bb5952e3d1e9f3aaf9ccca] Documentation: Add documentation for VDUSE git bisect bad 7bc7f61897b66bef78bb5952e3d1e9f3aaf9ccca # bad: [41116599a0731f4cd451e9d191d879ab45e31945] virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit. git bisect bad 41116599a0731f4cd451e9d191d879ab45e31945 # good: [5262912ef3cfc5e518892c3d67fb36412cb813e2] vdpa/mlx5: Add support for control VQ and MAC setting git bisect good 5262912ef3cfc5e518892c3d67fb36412cb813e2 # good: [7f815fce08d563006e43d1b7d2f9a0a4f3b832f3] dt-bindings: i2c: Add bindings for i2c-virtio git bisect good 7f815fce08d563006e43d1b7d2f9a0a4f3b832f3 # good: [d5a8680dfab0547a4ecd708b1fe9de48598a6757] uapi: virtio_ids: Sync ids with specification git bisect good d5a8680dfab0547a4ecd708b1fe9de48598a6757 # bad: [9af8f1061646e8e22b66413bedf7b3e2ab3d69e5] virtio/vsock: rename 'EOR' to 'EOM' bit. git bisect bad 9af8f1061646e8e22b66413bedf7b3e2ab3d69e5 # bad: [694a1116b405d887c893525a6766b390989c8606] virtio: Bind virtio device to device-tree node git bisect bad 694a1116b405d887c893525a6766b390989c8606 # first bad commit: [694a1116b405d887c893525a6766b390989c8606] virtio: Bind virtio device to device-tree node