1. 01 Jun, 2020 5 commits
    • Andy Shevchenko's avatar
      Merge branch 'for-next' · 30a44f7b
      Andy Shevchenko authored
      Merge branch 'for-next' of
      git@github.com:spandruvada/linux-kernel.git
      to update Intel SST tools.
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      30a44f7b
    • Chris Chiu's avatar
      platform/x86: asus_wmi: Reserve more space for struct bias_args · 7b91f156
      Chris Chiu authored
      On the ASUS laptop UX325JA/UX425JA, most of the media keys are not
      working due to the ASUS WMI driver fails to be loaded. The ACPI error
      as follows leads to the failure of asus_wmi_evaluate_method.
        ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [IIA3] at bit offset/length 96/32 exceeds size of target Buffer (96 bits) (20200326/dsopcode-203)
        No Local Variables are initialized for Method [WMNB]
        ACPI Error: Aborting method \_SB.ATKD.WMNB due to previous error (AE_AML_BUFFER_LIMIT) (20200326/psparse-531)
      
      The DSDT for the WMNB part shows that 5 DWORD required for local
      variables and the 3rd variable IIA3 hit the buffer limit.
      
      Method (WMNB, 3, Serialized)
      { ..
          CreateDWordField (Arg2, Zero, IIA0)
          CreateDWordField (Arg2, 0x04, IIA1)
          CreateDWordField (Arg2, 0x08, IIA2)
          CreateDWordField (Arg2, 0x0C, IIA3)
          CreateDWordField (Arg2, 0x10, IIA4)
          Local0 = (Arg1 & 0xFFFFFFFF)
          If ((Local0 == 0x54494E49))
        ..
      }
      
      The limitation is determined by the input acpi_buffer size passed
      to the wmi_evaluate_method. Since the struct bios_args is the data
      structure used as input buffer by default for all ASUS WMI calls,
      the size needs to be expanded to fix the problem.
      Signed-off-by: default avatarChris Chiu <chiu@endlessm.com>
      Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      7b91f156
    • Hans de Goede's avatar
      platform/x86: intel-vbtn: Only blacklist SW_TABLET_MODE on the 9 / "Laptop" chasis-type · cfae58ed
      Hans de Goede authored
      The HP Stream x360 11-p000nd no longer report SW_TABLET_MODE state / events
      with recent kernels. This model reports a chassis-type of 10 / "Notebook"
      which is not on the recently introduced chassis-type whitelist
      
      Commit de9647ef ("platform/x86: intel-vbtn: Only activate tablet mode
      switch on 2-in-1's") added a chassis-type whitelist and only listed 31 /
      "Convertible" as being capable of generating valid SW_TABLET_MOD events.
      
      Commit 1fac39fd ("platform/x86: intel-vbtn: Also handle tablet-mode
      switch on "Detachable" and "Portable" chassis-types") extended the
      whitelist with chassis-types 8 / "Portable" and 32 / "Detachable".
      
      And now we need to exten the whitelist again with 10 / "Notebook"...
      
      The issue original fixed by the whitelist is really a ACPI DSDT bug on
      the Dell XPS 9360 where it has a VGBS which reports it is in tablet mode
      even though it is not a 2-in-1 at all, but a regular laptop.
      
      So since this is a workaround for a DSDT issue on that specific model,
      instead of extending the whitelist over and over again, lets switch to
      a blacklist and only blacklist the chassis-type of the model for which
      the chassis-type check was added.
      
      Note this also fixes the current version of the code no longer checking
      if dmi_get_system_info(DMI_CHASSIS_TYPE) returns NULL.
      
      Fixes: 1fac39fd ("platform/x86: intel-vbtn: Also handle tablet-mode switch on "Detachable" and "Portable" chassis-types")
      Cc: Mario Limonciello <mario.limonciello@dell.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: default avatarMario Limonciello <Mario.limonciello@dell.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      cfae58ed
    • Nickolai Kozachenko's avatar
      platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015) · 8fe63eb7
      Nickolai Kozachenko authored
      HEBC method reports capabilities of 5 button array but HP Spectre X2 (2015)
      does not have this control method (the same was for Wacom MobileStudio Pro).
      Expand previous DMI quirk by Alex Hung to also enable 5 button array
      for this system.
      Signed-off-by: default avatarNickolai Kozachenko <daemongloom@gmail.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      8fe63eb7
    • Hans de Goede's avatar
      platform/x86: touchscreen_dmi: Update Trekstor Twin 10.1 entry · 477d07ef
      Hans de Goede authored
      Add minimum values for the x and y axis, correct the max value for the
      x-axis and add support for the capacitive home-button these tablets have.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      477d07ef
  2. 30 May, 2020 6 commits
  3. 22 May, 2020 3 commits
  4. 15 May, 2020 5 commits
  5. 12 May, 2020 9 commits
  6. 11 May, 2020 6 commits
  7. 07 May, 2020 6 commits