Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2234995ybt; Fri, 3 Jul 2020 04:23:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwU64+F8TU7i/pDHtthZ3OGJwiwshebTNCwrnEwWVw7Bi9mbr2kEZVjQUCpii7NVefjtpQf X-Received: by 2002:a50:d6dd:: with SMTP id l29mr40338936edj.345.1593775380657; Fri, 03 Jul 2020 04:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593775380; cv=none; d=google.com; s=arc-20160816; b=scxq02J2nf0qEEZu63YozNDCfND5U0N1wlZq6JH6Hlbt3YLAGujE7I0C7zhoAUJAb2 3lVnYgKuxWNcl9t3sxQlzr09LWmTFtxrVex5OGgsZvlHcSnlQf+G5eKJAhXno0WnfnyZ 6gtzy2oKEa17KKTU5d6wBcOS6yftVGrsm2fn9XJecwiaClUpinVKc3NG5glhAdl1/dRq +j8Wui79uYsAUCz7Mnuh5a8nYV2WmDJVXiwSMR2PK/Lbd4lQRRx+FQSC0p9GK1GvH3eb 4cl5Q8YR7XYLb+cnSyQKOOYLcDhBIBqHYUNAU7wQi3HwXTf5EwxuN1IiNGUmbUYr0IXe eOuQ== 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:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=LsLWgrqcyZSsKgQBrDBrlp3Hhp+JY7bSVoM0ZEKb0Bo=; b=n9TV0Zw72dJt+/8rWdthredX9HYdIGreU2BtE32WbQHQXMIJvJ6xpDEH9tGy4nyiZE RrpVu9av2CxmVarYOm7nl/E9wGA+ArEkTQkzU0eD8GBsBdTpj0GGUkNyaguxP6rM3NKw +txzO+IAjYTiqYkr96MzTwOzX1mVWUKmJLR2PW2V35wg+JZVrhCR129pKaML19WD+dDP uRM12mymnfgYjxootUQsiWoIoGe1o08zlEK+d3tW3m65ZkDSBBezAJKN++41qwiGj5bm CeStwInGwoFp6wi9mfKUuC/Anl70kHrcrHa1HudbnI9JJSWDT1ZcbdyZGSY/VS2nNNsn KU2w== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si7699149ejj.461.2020.07.03.04.22.36; Fri, 03 Jul 2020 04:23:00 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726385AbgGCLVg (ORCPT + 99 others); Fri, 3 Jul 2020 07:21:36 -0400 Received: from mga01.intel.com ([192.55.52.88]:35605 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbgGCLVf (ORCPT ); Fri, 3 Jul 2020 07:21:35 -0400 IronPort-SDR: M5v14p1woQHQFp+SHNmdrIfn2aX5Kt/PtWm7NlD1gO6pcK55Bq6bCoAB/zCf1cm/UzKqIp1bD2 nniqYCCKOQGQ== X-IronPort-AV: E=McAfee;i="6000,8403,9670"; a="165197804" X-IronPort-AV: E=Sophos;i="5.75,308,1589266800"; d="scan'208";a="165197804" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2020 04:21:35 -0700 IronPort-SDR: zZJdcdf/ZIZzX2VlNvLNUGgbUu8fpS3tce0x2rXTEoH9EyKSu5f9Pu3sUKrCCXuS3gpSgbvEkN TTdW1NmEOEQw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,308,1589266800"; d="scan'208";a="296186000" Received: from mylly.fi.intel.com (HELO [10.237.72.153]) ([10.237.72.153]) by orsmga002.jf.intel.com with ESMTP; 03 Jul 2020 04:21:31 -0700 Subject: Re: [PATCH v2] HID: i2c-hid: Use block reads when possible to save power To: Sultan Alsawaf Cc: aaron.ma@canonical.com, admin@kryma.net, andriy.shevchenko@linux.intel.com, benjamin.tissoires@redhat.com, hdegoede@redhat.com, hn.chen@weidahitech.com, jikos@kernel.org, kai.heng.feng@canonical.com, linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com, vicamo.yang@canonical.com, wsa@kernel.org References: <20200616154951.3050-1-sultan@kerneltoast.com> <37ceaf7a-3421-e305-4355-a6b40ae54843@linux.intel.com> <20200629174328.GB1646@sultan-box.localdomain> <20200701150007.GA2141@sultan-book.localdomain> From: Jarkko Nikula Message-ID: Date: Fri, 3 Jul 2020 14:18:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200701150007.GA2141@sultan-book.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed 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 Hi On 7/1/20 6:00 PM, Sultan Alsawaf wrote: > On Wed, Jul 01, 2020 at 11:04:01AM +0300, Jarkko Nikula wrote: >> On 6/29/20 8:43 PM, Sultan Alsawaf wrote: >>> Hmm, for some reason in 5.8 I get the same problem, but 5.7 is fine. Could you >>> try this on 5.7 and see if it works? >>> >>> In the meantime I'll bisect 5.8 to see why it's causing problems for me... >>> >> I see the same issue on top of v5.7: > > Try reverting my "i2c: designware: Only check the first byte for SMBus block > read length" patch and apply the following change instead: > This combination (the diff and this HID patch) works on top of v5.7. I tried also these other combinations: v5.7 - HID patch + this diff -> ok - HID patch -> not ok - HID + acked i2c-dw patch -> acked i2c-dw patch doesn't apply v5.8-rc3 - acked i2c-dw patch -> ok - HID patch -> nok - HID patch + acked i2c-dw patch -> nok - HID patch + this diff -> diff doesn't apply Hopefully gives some glue. I'll be out of office for a few weeks and unfortunately cannot test patches meanwhile. Jarkko