Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp7119451imm; Tue, 24 Jul 2018 08:41:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfgMqmjIGHdxTbxyKkgaA19lubggyDx0TdI2o1PnK0KnayrbPUAb3GI217FCrX06oaVUYYM X-Received: by 2002:a62:f587:: with SMTP id b7-v6mr18281584pfm.158.1532446904462; Tue, 24 Jul 2018 08:41:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532446904; cv=none; d=google.com; s=arc-20160816; b=LIspq1/Fp0wmdIS8t4pEzj3nA1n+ptKrCVfMXeX1T2un6Ih5dVcwhtcPGhIBwYodW0 3qKBtzM2IyC6sboywWrL+jdbfigrsNjP/FoDyiUBpOFDtzvihvJCxVHzL8RHB8W6pzgu jdF6ceyE5ICvqwDnrU6OHjdg6u5U4X+VC4NBZoxBgtQ3hjYJ1LMhy6SjCxe77DZNFi/s 2YlNhAlUI3hPOClH6RTi0Z/vCEoIjde19YmaYD26oYe+9RiIVI9g2MOHwVswFpMaQM1f +0vWfKR05gPMlC2tjR2vlUaoYTLXEm/sPzVl1qd44wbjraxvtZZ/YkWPejZbyaB5bYBt hr3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=r2NvQ32/3TJuGxWnhIYaXT4o02GHAX5lhdRpMkKwc80=; b=sAwt4E5DnLzTiNWca8FL706ztiu7uVAg3K8Ykg4/t6vt0+7p6RxREJ2m5a35WPzI8l k2CJm80lZ3h6dEc6U5UsinXerQJjM2N3rdDOCnDb7AO7WA8VZ2rRR2NLiF/inPyQxpIs pmBio3dw5VlJ/DJzqa8NnDd6cjzhVMg0DSXsUQmn5U4lGgTnqF0WYKLHkuU9OpImhUV+ k0nPRt5on3x9hDkxbOKefJ8evDCFGEWaaItMigAYGtvieomBBxh2IHikYUSIoIPHVRKq kVldwtvE998JVD0r8kXXiSJ4erumLmmMj9agG0Xrp2gJM55QffHjIAvdOPydw/c2VJWb c9Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=N2a95CH0; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9-v6si11874296pgm.581.2018.07.24.08.41.29; Tue, 24 Jul 2018 08:41:44 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=N2a95CH0; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388395AbeGXQrl (ORCPT + 99 others); Tue, 24 Jul 2018 12:47:41 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:35473 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388319AbeGXQrl (ORCPT ); Tue, 24 Jul 2018 12:47:41 -0400 Received: by mail-qt0-f194.google.com with SMTP id a5-v6so4540907qtp.2; Tue, 24 Jul 2018 08:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=r2NvQ32/3TJuGxWnhIYaXT4o02GHAX5lhdRpMkKwc80=; b=N2a95CH0eoPNLflk2ooDnAJhpZIMrDpocEfljiMENUgOAQ8t0CMmS1aXTy6nL+d+Ly 6ODDjau7J9yNCRAVyvnsEUkolSrcZF7JsHAToUmprzzg/g0bZNKBz1S5CUN0A8sGIDeN RYst73sJzlcc1kVWEAlkcaTPvMmaks13C27ev8HpsGY08XkSNg9aYwFJle9wrSIYU3H2 Y4BaSrspSMKfEepdHPZp4I7NvELNVOpc5TnhUJd196Ct4BfsJHhGRqcASGyoHKQQPOA/ srAkOSH4odqatzWQCv+NyCwTLDSNE67DmuLZTyqg5YwHL4NTSSHFO7XLjW0x+ICT6DCc qBfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=r2NvQ32/3TJuGxWnhIYaXT4o02GHAX5lhdRpMkKwc80=; b=Z7IB3Iw/A/P3gc8qqfeBxH9fOW+dDtBbZLpz7Y+XtFn02OVyjzC9yZwmfJ1C7aha// zMgf+ge1wTvjfjf1aksxOk5c0W1xiLBHzzMgzYgp+1UOCBbS2VujdImsM5G0p+dXdEFn q9s4o74NaZElayK3kjjBAfbnawNWw081L7R1FqND5998CybfgQJkGTZNCH4zGU+Low4F T0fdqJQlxZjJI2m0XPXhpekgJDCKEgf5NlXXSMDUaua/422DBRzXJLmu3iBiacV3jOkE O5h6l/Z6Ex/EGusACyrJBxTxw4XYrEmOd00DhJJmWHZegq15L/uEqdicWCiQnCgD17C6 7MPw== X-Gm-Message-State: AOUpUlGRO4ou6ySfGJiuPSQoqIcNi3IesyzWC8nJFiOmsufFxQyQzJ3E JbgQp2kj0JpkeO/URUe8M9VCI01eCk2pFwQE/+w= X-Received: by 2002:ac8:3676:: with SMTP id n51-v6mr16826868qtb.163.1532446837337; Tue, 24 Jul 2018 08:40:37 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a0c:967d:0:0:0:0:0 with HTTP; Tue, 24 Jul 2018 08:40:36 -0700 (PDT) In-Reply-To: References: <20180719152930.3715-1-boris.brezillon@bootlin.com> <2ab0ab75-2df0-2714-f007-c33b25481016@axentia.se> <20180720101206.tv7nsoanwo5ftnia@ninjato> <21b269c5-a3a7-c5de-c81e-c9c9301ae13e@axentia.se> <20180720151751.242d4809@bbrezillon> <20180724162806.318a92c6@bbrezillon> From: Arnd Bergmann Date: Tue, 24 Jul 2018 17:40:36 +0200 X-Google-Sender-Auth: idNgmZlYSLkoITfn-DGB6S3RKT8 Message-ID: Subject: Re: [PATCH v6 00/10] Add the I3C subsystem To: Geert Uytterhoeven Cc: Boris Brezillon , Peter Rosin , Wolfram Sang , Linux I2C , Jonathan Corbet , "open list:DOCUMENTATION" , Greg KH , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Vitor Soares , Linus Walleij , Xiang Lin , "open list:GPIO SUBSYSTEM" , Sekhar Nori , Przemyslaw Gaj Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 24, 2018 at 5:15 PM, Geert Uytterhoeven wrote: > On Tue, Jul 24, 2018 at 5:05 PM Arnd Bergmann wrote: >> That's not the case I was describing here, I was thinking of what >> Wolfram described with the Renesas SoC that has two i2c masters >> multiplexed through the pinmux layer. I would assume that we >> can still do the same thing in i3c by shutting down the current >> master without a handover, and reprobing everything from scratch. > > The major disadvantage of reprobing is that it may cause visual disturbances > when i2c slaves are involved with e.g. the display pipeline (think HDMI encoders > etc.). Do you mean we should reuse the device pointer and association with the driver even when we switch out the i3c master using the pinmux? Or do you mean we need to be prepared for driving a single slave through multiple masters over the lifetime of that device, but using the i3c master handover protocol? In the second case, how do we decide which master to use for accessing a device for a given request? Arnd