)]}'
{
  "commit": "f847eafd12db90aa9939343eb576dd69a9e60189",
  "tree": "fde19659b65c914eb58605cc9563435f499442d9",
  "parents": [
    "153274cb1c62eb70fd09e2fbb85aa30597607361"
  ],
  "author": {
    "name": "Hans de Goede",
    "email": "hdegoede@redhat.com",
    "time": "Fri Nov 22 19:56:40 2019 +0100"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Dec 04 22:34:29 2019 +0100"
  },
  "message": "platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer\n\ncommit 16245db1489cd9aa579506f64afeeeb13d825a93 upstream.\n\nThe HP WMI calls may take up to 128 bytes of data as input, and\nthe AML methods implementing the WMI calls, declare a couple of fields for\naccessing input in different sizes, specifycally the HWMC method contains:\n\n        CreateField (Arg1, 0x80, 0x0400, D128)\n\nEven though we do not use any of the WMI command-types which need a buffer\nof this size, the APCI interpreter still tries to create it as it is\ndeclared in generoc code at the top of the HWMC method which runs before\nthe code looks at which command-type is requested.\n\nThis results in many of these errors on many different HP laptop models:\n\n[   14.459261] ACPI Error: Field [D128] at 1152 exceeds Buffer [NULL] size 160 (bits) (20170303/dsopcode-236)\n[   14.459268] ACPI Error: Method parse/execution failed [\\HWMC] (Node ffff8edcc61507f8), AE_AML_BUFFER_LIMIT (20170303/psparse-543)\n[   14.459279] ACPI Error: Method parse/execution failed [\\_SB.WMID.WMAA] (Node ffff8edcc61523c0), AE_AML_BUFFER_LIMIT (20170303/psparse-543)\n\nThis commit increases the size of the data element of the bios_args struct\nto 128 bytes fixing these errors.\n\nCc: stable@vger.kernel.org\nBugLink: https://bugzilla.kernel.org/show_bug.cgi?id\u003d197007\nBugLink: https://bugzilla.kernel.org/show_bug.cgi?id\u003d201981\nBugLink: https://bugzilla.redhat.com/show_bug.cgi?id\u003d1520703\nSigned-off-by: Hans de Goede \u003chdegoede@redhat.com\u003e\nSigned-off-by: Andy Shevchenko \u003candriy.shevchenko@linux.intel.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2521e45280b82659e25b703f0f90294f885cbaaf",
      "old_mode": 33188,
      "old_path": "drivers/platform/x86/hp-wmi.c",
      "new_id": "6145a18a3f5eb582a5912cca21203cbcf4a5c247",
      "new_mode": 33188,
      "new_path": "drivers/platform/x86/hp-wmi.c"
    }
  ]
}
