From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38AE2C433FE for ; Wed, 12 Jan 2022 12:31:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238102AbiALMba (ORCPT ); Wed, 12 Jan 2022 07:31:30 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:20535 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353148AbiALMb1 (ORCPT ); Wed, 12 Jan 2022 07:31:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641990686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tpJ4zcL8zME16M97y3IC2Y4DEC9svpHZ7qIBIrbUhks=; b=SDyh9VLbEUEIZ951TFQDMHokzf8oT5Xd0jGvD0eKR2iHon5s8vkvtCp/HbEmVB/1AOaTM1 a3u5YEsC2bpbhysaR1+i1MLjnJJekWP04mb9oy7Z1zSbQbTHAxiUO1Uq0eiOAI4tOR8HRf rIdvF8HpZ0FRn7r6GdysBtDEpUVRGsc= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-32-YyuYuR9iOAuJouQFhoAYiA-1; Wed, 12 Jan 2022 07:31:25 -0500 X-MC-Unique: YyuYuR9iOAuJouQFhoAYiA-1 Received: by mail-ed1-f72.google.com with SMTP id y18-20020a056402271200b003fa16a5debcso2113643edd.14 for ; Wed, 12 Jan 2022 04:31:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=tpJ4zcL8zME16M97y3IC2Y4DEC9svpHZ7qIBIrbUhks=; b=NoHTLS7wD577lX2i3G1bpUjvSaGnRVqlU/YuO+rwEzAdBtSZXAmgHSDu5PtgUnI+Wj q64NA/69d82r0CMZ1Q8dSvLjRMvUc9jnXBa9l0C9m1mALuJwLc19H6jhy07ZtwYpCP1y icH8IqfS52+VM2RNZ9sDZ39EhYmmVWe9UT+ZALKBR9yCZBRbC/szW4SG+C0KRvUFMs44 CeSP21w1ufLxMASDiCDWWwbaWUlV/VeZEakXuJT3XsWEUKlMluVAd3Y2vsIQpSZs1YiH osZYeK/BYX3fUF22bgu1sDs+kFRrAhgZGX0xrabCdVSqhG6rMaVajV6OxXVr6vCuBKAH w2/g== X-Gm-Message-State: AOAM530Rkzg6xgb4xlyZim+cBzywD1Ksr6Tl80fXosANp/+JrVqW90ai aY/2BJMYNIhTiDeTeUmvlufwT4AzlaBNuDrtBcAYaEiSpcDuT235mNet8UJyI+BkCRJkri33Zn3 rFIbqXSiYnZE3gnoCWvBdd9Y= X-Received: by 2002:a17:906:b854:: with SMTP id ga20mr7356654ejb.605.1641990683837; Wed, 12 Jan 2022 04:31:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLf12Kfn3ZQIzFIrLAhx6O3rrxDsG8k2/3avuyLvm56f0J0xGRmpemO3K3JdMIsJbzPJ6Q3A== X-Received: by 2002:a17:906:b854:: with SMTP id ga20mr7356636ejb.605.1641990683644; Wed, 12 Jan 2022 04:31:23 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1? (2001-1c00-0c1e-bf00-1db8-22d3-1bc9-8ca1.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1]) by smtp.gmail.com with ESMTPSA id w17sm705292edr.68.2022.01.12.04.31.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jan 2022 04:31:23 -0800 (PST) Message-ID: <8a693ece-5466-69b9-4d9a-2f1cef0a5ae2@redhat.com> Date: Wed, 12 Jan 2022 13:31:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Touchpad stickiness on AMD laptops (was Dell Inspiron/XPS) Content-Language: en-US To: Wolfram Sang , "Limonciello, Mario" , Benjamin Tissoires , Andrea Ippolito , Dmitry Torokhov , Alex Hung , Linux I2C , "open list:HID CORE LAYER" , Platform Driver , "Shah, Nehal-bakulchandra" References: <70cbe360-6385-2536-32bd-ae803517d2b2@redhat.com> <42c83ec8-bbac-85e2-9ab5-87e59a679f95@redhat.com> <5409e747-0c51-24e2-7ffa-7dd9c8a7aec7@amd.com> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi, On 1/12/22 09:33, Wolfram Sang wrote: > Hi Mario, > > thanks for joining the discussion! > >> 1) Systems returning SMBUS address 0xff >> >> The address can be potentially be returned using port I/O or it can be done >> using MMIO. >> >> There is already a thread in process to add support for MMIO, but last I >> heard it's waiting for review comments. >> >> https://lore.kernel.org/all/20210715221828.244536-1-Terry.Bowman@amd.com/ > > This thread is under active discussion again. > >> Now something else interesting - the SMBUS controller in these laptops often >> is listed in the ACPI tables on IRQ7 with a _HID of SMB0001. > > IIRC tests done by Miroslav showed that interrupt 7 was used for > completing SMBus Block transfers and alike, but not for HostNotify. He > suspects this is wired via GPIO somehow. I expect host-notify to use IRQ7 too, but that it first needs to be enabled by poking some registers in the SMBUS controller. Regards, Hans