Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp515573img; Thu, 21 Mar 2019 03:12:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzybLddweNuF5QFaGpyII46smwLt+UGEDDVJV9zd4f+DwQtcaEyaByyJDFHChR6bI7yIyeZ X-Received: by 2002:a62:1d0e:: with SMTP id d14mr2452292pfd.73.1553163176601; Thu, 21 Mar 2019 03:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553163176; cv=none; d=google.com; s=arc-20160816; b=IKGX0xl8oSMu1WLLKtmO4iRfFkwyWl4DZI97R5CeY3pHgMYh6EncJp+IsERGJqMR9E rjc4f5BWekGSrsgqetNQlngYlhOvp0j8yluDPtY8TR5RKEuYRICJaxN0UR0HJa35kRED klHa36fSqjmsORXqaUuVUo18btQvuFVPSdBb3qr7V5fLfyHX4mnqo8yAb3BDsF+KpUSX FWFzAuGUSqpB+0gw2VY6GXgOkYwrU1PvyZj1iknV3n0uPYPAIyN8pCw8XIWT5ZsbQGh9 fiN/9a1KLLweuQA++dhoKbog83UB8DkbjTadufDKoT3aCm2UYhyFvMXkOR5o9f1Jfk4p alJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:cc:to:from:date; bh=1BnoWeLLw0jeZVuoBhcOR1eklfIqvpzsAL+oJP7yxis=; b=AmuhESRYyWAvWZdOdhMw8ngab3HVwrXNWhVzkZVuBahtg8P05LZAM0kcPgQqN1C8ao SH7hMej7aiwSVO3itWVPZ6ZMQEsxpiyJTU6ytNqTSLhMB82dy+GuGSJpztSLDKvIRRtK UqXC7pAkEJFmgCEHHZNQKvqytZmp49K8FeV++FERYNoHBcZyB2AS32CrCu4JgWJKtA8+ B+nt5YNLtGtylo6cInXBBBT067NciSrwl0kFlQo8LlaeMtAI8YqR+fHU13THhhd60oWs +6oG+jWUncE9RczWeiTNl94wPyRUvXZ1xjs5Upi6fEd5RizAxml8eErF4ec0U1sR32ed tTMg== 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=REJECT dis=NONE) header.from=skyboo.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u17si3863918pfm.82.2019.03.21.03.12.41; Thu, 21 Mar 2019 03:12:56 -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; 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=REJECT dis=NONE) header.from=skyboo.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728061AbfCUKLz (ORCPT + 99 others); Thu, 21 Mar 2019 06:11:55 -0400 Received: from skyboo.net ([94.40.87.198]:44500 "EHLO skyboo.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727976AbfCUKLy (ORCPT ); Thu, 21 Mar 2019 06:11:54 -0400 Received: from [10.1.0.1] (helo=nemesis.skyboo.net) by skyboo.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1h6ufo-0006iu-D4; Thu, 21 Mar 2019 11:11:48 +0100 Date: Thu, 21 Mar 2019 11:11:43 +0100 From: Mariusz Bialonczyk To: Evgeniy Polyakov Cc: Jean-Francois Dagenais , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman Message-Id: <20190321111143.c54afe794f1de222a0cd020a@skyboo.net> In-Reply-To: <9351961553005269@iva4-406defa25fee.qloud-c.yandex.net> References: <20190318092737.8170-1-manio@skyboo.net> <20190318092737.8170-3-manio@skyboo.net> <6836A9A3-AF86-4E2F-9215-647CB36E22DA@gmail.com> <9351961553005269@iva4-406defa25fee.qloud-c.yandex.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 10.1.0.1 X-SA-Exim-Rcpt-To: zbr@ioremap.net, jeff.dagenais@gmail.com, linux-kernel@vger.kernel.org, greg@kroah.com X-SA-Exim-Mail-From: manio@skyboo.net X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on nemesis.skyboo.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: [PATCH 2/2] w1: fix the resume command API X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on skyboo.net) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Evgeniy, On Tue, 19 Mar 2019 17:21:09 +0300 Evgeniy Polyakov wrote: > Looks like this may break the search logic, can you check that with this patch applied > some other single slave device will correctly 'tell' its id and it can be addressed via match rom (like, basically, just reading temperature or something like that)? Yes, I have tested it in a mixed environment (regarding single slave/multidrop): /sys/devices/w1_bus_master5 # ll total 0 drwxr-xr-x 9 root 0 0 Mar 21 10:53 . drwxr-xr-x 17 root 0 0 Mar 2 16:49 .. drwxr-xr-x 4 root 0 0 Mar 21 10:55 28-00000921ff5e drwxr-xr-x 3 root 0 0 Mar 21 11:04 29-0000001246a4 drwxr-xr-x 3 root 0 0 Mar 21 11:04 29-0000001246b1 drwxr-xr-x 3 root 0 0 Mar 21 11:04 29-0000001246b9 drwxr-xr-x 3 root 0 0 Mar 21 10:54 29-0000001246bc drwxr-xr-x 3 root 0 0 Mar 21 10:53 3a-0000000f354f /sys/devices/w1_bus_master6 # ll total 0 drwxr-xr-x 4 root 0 0 Mar 21 10:54 . drwxr-xr-x 17 root 0 0 Mar 2 16:49 .. drwxr-xr-x 3 root 0 0 Mar 21 11:07 29-0000001246a9 No problem with searching and using other slaves on the bus. regards, -- Mariusz Białończyk | xmpp/e-mail: manio@skyboo.net https://skyboo.net | https://github.com/manio