Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1105109ybi; Fri, 24 May 2019 17:26:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS6P18sLjsxisvFhbA35cP2JYITtjFXKen1lyfHuoPoQyYl++mWPo41xf0zPx/beNBFhGC X-Received: by 2002:a17:90a:ff03:: with SMTP id ce3mr2784790pjb.81.1558744005992; Fri, 24 May 2019 17:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558744005; cv=none; d=google.com; s=arc-20160816; b=0ckqQpoZaDyPiysEkNTWgF8UR/DOx41GLQt9w7N6dZCx1O8edLExlu3VvYLRT81N6P BjscyUHV7V4jUJmz2kc8As/4zPx9UZ+eq1qwYLez6MdsH5uinPWteaK4UZuMY5Z1bKwx u8neo48P2XQSUAx51ARXCy5itb/IqoboDp+i47oUqcPMrMNgbrtnbX3dBLQwkISgnfbU J8JX0SacAEfplGVSMkJVSx9aOTJwBY1EQ4k8YQyM66xZm2ApLH27khY7F/ZoocTz4FHv wzrgHXy2e9wB5YdyOllu29pgFyuXPGsysJgpjxIvnIMvdUZYzaI9b+KV075ZHChAR0bP dX0A== 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:references:cc:to:from:subject:dkim-signature; bh=deDS/pIxO2dFWIXtTid/DUueANeWghHsDbsx0a/VuOA=; b=J+ePuhSeJWMFpmJDbln7h+EM2nxI6YbvpDEAI8HBRkY//3RPZchlDlT+E5rah0m5lO 5Pnh7qk0YGeiDyv2dY6yFEZCL6tJvRAGGctwGkhLEQzCbq9+2FJlpKPUF5AXpIGni6nY Jd8yiLXZ0hJtbMLYvueBGtAOlX2F1Ypa14lr3qwSdZYHxbsg5iNu7scH/0Mn5z61M/2T 7u0xm637JkwngTa7deHSfaHlKkILu2tO/jzhzg8hh3GQJjBRso8ffRwv1BULM7ikLmif f1Y4sbnfHdfgBsSYfEMeYA1GcQL0eA8lTl2dzNrj6hMWOzUWLB1PPUVvZpTQQQqPOdi6 eqUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="QlN7oP/J"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si6308962pfa.180.2019.05.24.17.26.31; Fri, 24 May 2019 17:26:45 -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=pass header.i=@gmail.com header.s=20161025 header.b="QlN7oP/J"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726266AbfEYAZ2 (ORCPT + 99 others); Fri, 24 May 2019 20:25:28 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44361 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726166AbfEYAZ2 (ORCPT ); Fri, 24 May 2019 20:25:28 -0400 Received: by mail-pg1-f195.google.com with SMTP id n2so5870671pgp.11; Fri, 24 May 2019 17:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=deDS/pIxO2dFWIXtTid/DUueANeWghHsDbsx0a/VuOA=; b=QlN7oP/JPfshSJRePhMLsGMICgMtM8fquVI5hwUQS9du6NjLhVvge4OzLLGuHi42bq Z5m+NxQmLXa4Ux8NQOKyLgYaTC79SKefs8PiEJ0M+3zIRepsbcgqRWlu+usktORtKnfu vCQJdYkeqFEtWklwAFB77fvkV8+fb24+CZu6NWbsPfvN7vaLp/QlbgVY21cSeJjrv7qE cukr4T2JMaTPniJUaU9/sMLeJ90jt1cEVCEJcD+MaV4OjGoV7BwKM6Dbxdfg5PW55jld 8wNEgvt2va1+gZ1uadXn14pwIu2z/Pw/g4YQNMG4T0pX1T1w3n4mzaKlRwJ4kLXKsqCk 9Qqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=deDS/pIxO2dFWIXtTid/DUueANeWghHsDbsx0a/VuOA=; b=siyqCl74JtDo12Y9oMp2mjHseQj06bVVMzVEUMZlEGlbnXcGCbLm5Qimf1mJtAmRHL Z0oc3dS/gGumRnGS+/XvW41ueD/IT5pcTmexg0ZwC2zSW31pkcdfYa4b4bTcRaiO0H1l Nk8DuiceVN+faWsDg/1fGRJVpDNdd7Me+3dljxVx+vs8ddtSWHNcL3tP9HL9mtI/wsvf KvSQAwxHH6nH9x6MmBy9wVa9ba16XRYwbgseqc8D4sLLpWa6zB6ZdojuC/cUvpiXAmaM BKtDOVJtMLjawaoU3B7qSbTt9EhD03SMfndk1LP23ZW/b5D0psDptI0GmpJgyyeemr1p zMwQ== X-Gm-Message-State: APjAAAU89OeOgmgMBlOSHeSRjQzosQHmQfUekX8VOk7OsbWMSynEu8qF MaScZRKS5EdeDI4rGueaZtQ= X-Received: by 2002:aa7:8d50:: with SMTP id s16mr55203506pfe.96.1558743927987; Fri, 24 May 2019 17:25:27 -0700 (PDT) Received: from [192.168.1.70] (c-24-6-192-50.hsd1.ca.comcast.net. [24.6.192.50]) by smtp.gmail.com with ESMTPSA id 11sm5738096pfu.155.2019.05.24.17.25.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 17:25:27 -0700 (PDT) Subject: Re: [PATCH v1 0/5] Solve postboot supplier cleanup and optimize probe ordering From: Frank Rowand To: Saravana Kannan Cc: Rob Herring , Mark Rutland , Greg Kroah-Hartman , "Rafael J. Wysocki" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Android Kernel Team References: <20190524010117.225219-1-saravanak@google.com> <06b479e2-e8a0-b3e8-567c-7fa0f1c5bdf6@gmail.com> <6d3995c1-e1e7-35ff-d091-501822c97ecd@gmail.com> Message-ID: <0634ea45-2941-73fb-f8d8-b536e929a4a8@gmail.com> Date: Fri, 24 May 2019 17:25:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <6d3995c1-e1e7-35ff-d091-501822c97ecd@gmail.com> Content-Type: text/plain; charset=utf-8 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 On 5/24/19 5:22 PM, Frank Rowand wrote: > On 5/24/19 2:53 PM, Saravana Kannan wrote: >> On Fri, May 24, 2019 at 10:49 AM Frank Rowand wrote: >>> >>> On 5/23/19 6:01 PM, Saravana Kannan wrote: > > < snip > > >>> Another flaw with this method is that existing device trees >>> will be broken after the kernel is modified, because existing >>> device trees do not have the depends-on property. This breaks >>> the devicetree compatibility rules. >> >> This is 100% not true with the current implementation. I actually >> tested this. This is fully backwards compatible. That's another reason >> for adding depends-on and going by just what it says. The existing >> bindings were never meant to describe only mandatory dependencies. So >> using them as such is what would break backwards compatibility. > > Are you saying that an existing, already compiled, devicetree (an FDT) > can be used to boot a new kernel that has implemented this patch set? > > The new kernel will boot with the existing FDT that does not have > any depends-on properties? I overlooked something you said in the email I replied to. You said: "that depends-on becomes the source of truth if it exists and falls back to existing common bindings if "depends-on" isn't present" Let me go back to look at the patch series to see how it falls back to the existing bindings. > > -Frank >