Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp44849iof; Wed, 8 Jun 2022 14:51:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi3JSxsMRaTclZaLu0rBhNUX33qBbdIofrhWpLqGAF7W+SLA8YAEIxLUq86jIt/s7WoA0x X-Received: by 2002:a17:907:94c6:b0:6fe:d71a:b721 with SMTP id dn6-20020a17090794c600b006fed71ab721mr32731431ejc.313.1654725085492; Wed, 08 Jun 2022 14:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654725085; cv=none; d=google.com; s=arc-20160816; b=xXKlOK558OSZi49ix4hJh2FoeLI7359qMVxtXjy2yXgCGmm8IfBOQjzQU/c4QY2ozT aTxt2O3H8fihGfCYcJ7kvtTzVGpf5Ht3DYlGi59fSD+Jir84ZCp/jYQcN9u65SFHv2AT 3EnVAsrvl4dKbWLIYzXRgwM13iO1i+A9r5rvWU6COWmf4IMS812+VdIeMns4VcQF11yh M5PklsH0Imaxj9XYTC78CA1inU/44O0XBGKf3+fMc+64ZrLUuCwMjO7JzHZn4RjvqosP hcEta1pzFZGONgMK5ypgEtVpujds3j0rg7HQ/Ag7vRAwpb3m3wIP6FIInVeMVsD2Zmfj Tmsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=03B0iB0vv0r1aGxBX5LhL6w9oCQfB9rG6yNsyoZmDXs=; b=SqgSc4z/erj0EulZkTBQ5jCpgAqTA8tq4+tJXegLgMbZNlD8f1WC6PVJl9MYd1LHTp UycTzneBNjhOuIIPkLGaAXMvJeGtXppjPx2+ovReIt+cpa6Es7/ZJHb/pwebgTRHzeDq IV2WRCX6YcD+pCYpCqegJLgv3sNBptblcluxchzzMmCWD60SBkT1aNx93RVve7Y1niv/ CuMchWLxFiZvN4iySUVoIW5OgmQClvOrWZMALNP7F8iLYd/RuP46j0PvybiGaM/9x4GE OFaz2eTmGLGhOEodFIhf7yzRuqbS9uXH9MqJM6GyRJ2Uk7VwEKUBkPcAr0AI8BK+60NH EBqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PNWCVUtg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j39-20020a05640223a700b004315a290b9esi1852345eda.286.2022.06.08.14.51.00; Wed, 08 Jun 2022 14:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PNWCVUtg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236311AbiFHV3g (ORCPT + 99 others); Wed, 8 Jun 2022 17:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236283AbiFHV3b (ORCPT ); Wed, 8 Jun 2022 17:29:31 -0400 Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05A7640A1E; Wed, 8 Jun 2022 14:29:25 -0700 (PDT) Received: by mail-oi1-x234.google.com with SMTP id y69so15901003oia.7; Wed, 08 Jun 2022 14:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=03B0iB0vv0r1aGxBX5LhL6w9oCQfB9rG6yNsyoZmDXs=; b=PNWCVUtg8vCYwYIgponoJ1HStEM+n3HqPSVDsTeYmZb9jjl+X+ievjcib+5O71WkBR ZU/J38u0xJ5IWFZym2jzRh8lbJ2oNcsfhTaJYD5kIxbHEedq8mNLJFo8GTXg2qpmHtwP MMpRCzXPBw8fA9q3dTad092CmQlvkzm8OwtXhpZFp7E1mogRBdakrsI+ZG9JCL84k7O9 stn+GZqcrjqa9DYddRL6q+1Oy0H00OAFULeym3sG5S1p3AQz6uBJ67tTm3gWBZvr2qY4 r60/qMiNyKzFczuL7C5j7+LaJwEMOGiggYlrgd2z2kEKZp5dgTIh6KSYBeFTt1K14V+U xW/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=03B0iB0vv0r1aGxBX5LhL6w9oCQfB9rG6yNsyoZmDXs=; b=Bi6hDu0Ico9I4b5Ul1QPFw+IU8Fk7gX/gtKlBw3GiYDGXctAyT/dSzabMrLfU7fPUT tYt2+XOsdm6+Lxh/jqHnQHDl3Y9YxUEFNANTCGFJ1dFys1z5U9fDFhfb5HSGNFk1vhbA QE342iQZYa1KImX7HftyICpn5D5+NnW7FizTl3dubulC69xUrcc25p0k3RfG6B+58QqD AKsR8+RIsq+jB33Vmxin30rPVzQF4lrQ+hQcbHnoYPS3DjPLbwHR0l6Ofd7qPR/c+eeV p2oDTacHhcl2grWFGXE8QQ10BtmXcQaGAKdzhAM8Fs/JLfnp3TqJ9Ryda6jCrYwd6LPe epXA== X-Gm-Message-State: AOAM531bP8AAamGmb0mCEXbgrxhsHe9HTP3OUsJRSKendJ2204Zr0hxX yPUsud36IF6cLVwBQAPTEXo= X-Received: by 2002:a05:6808:23d5:b0:32e:c7f0:800e with SMTP id bq21-20020a05680823d500b0032ec7f0800emr3612997oib.91.1654723764544; Wed, 08 Jun 2022 14:29:24 -0700 (PDT) Received: from grumpy-vm.hsd1.tx.comcast.net ([2601:2c3:480:7390:e5f7:48da:3306:a654]) by smtp.gmail.com with ESMTPSA id g22-20020a9d6c56000000b0060b128b935csm5393971otq.39.2022.06.08.14.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 14:29:24 -0700 (PDT) From: Jorge Lopez X-Google-Original-From: Jorge Lopez To: hdegoede@redhat.com, balalic.enver@gmail.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Cc: markgross@kernel.org Subject: [PATCH v3 0/1] Resolve-WMI-query-failures-on-some-devices Date: Wed, 8 Jun 2022 16:29:22 -0500 Message-Id: <20220608212923.8585-1-jorge.lopez2@hp.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The intention for this patch is resolve WMI query failures reported in several HP OMEN notebooks. See individual patches for complete details, root cause, and test environments. Description of changes between version 2 and version 3 ------------------------------------------------------ v3 patch 1: Resolve-WMI-query-failures-on-some-devices - Squash version 2 second patch into the original submission. The changes group similar declarations and provide clarity. - Incorporate fix for WMI query failures reported in several HP OMEN notebooks. WMI queries fail on some devices where the ACPI method HWMC unconditionally attempts to create Fields beyond the buffer if the buffer is too small, this breaks essential features such as power profiles. Jorge Lopez (1): Resolve WMI query failures on some devices drivers/platform/x86/hp-wmi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.25.1