diff options
author | Jerry Hoemann <jerry.hoemann@hpe.com> | 2017-07-01 06:41:24 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-07-01 18:49:59 +0300 |
commit | 37d74841b9d42b105cba053e70e9db0e395949da (patch) | |
tree | 34d49e0daba5ab0ab570b7f6d1fe35a0bf96602c /drivers/acpi/nfit | |
parent | 53b85a449b15e0e2e6727d8855e4c8b7627577e1 (diff) | |
download | linux-37d74841b9d42b105cba053e70e9db0e395949da.tar.xz |
acpi, nfit: Enable DSM pass thru for root functions.
Set ND_CMD_CALL in the cmd_mask to enable calling root
functions via the pass thru mechanism.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/acpi/nfit')
-rw-r--r-- | drivers/acpi/nfit/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 957b13152d1b..b16e4ef7a5ca 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -1623,6 +1623,7 @@ static void acpi_nfit_init_dsms(struct acpi_nfit_desc *acpi_desc) for (i = ND_CMD_ARS_CAP; i <= ND_CMD_CLEAR_ERROR; i++) if (acpi_check_dsm(adev->handle, guid, 1, 1ULL << i)) set_bit(i, &nd_desc->cmd_mask); + set_bit(ND_CMD_CALL, &nd_desc->cmd_mask); } static ssize_t range_index_show(struct device *dev, |