From: Joerg Roedel <joro@8bytes.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-acpi@vger.kernel.org, tpmdd-devel@lists.sourceforge.net,
intel-gfx@lists.freedesktop.org, nouveau@lists.freedesktop.org,
linux-input@vger.kernel.org, iommu@lists.linux-foundation.org,
linux-mmc@vger.kernel.org, netdev@vger.kernel.org,
linux-pci@vger.kernel.org, linux-usb@vger.kernel.org,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Borislav Petkov <bp@suse.de>,
Dan Williams <dan.j.williams@intel.com>,
Amir Goldstein <amir73il@gmail.com>,
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
Jani Nikula <jani.nikula@linux.intel.com>,
Ben Skeggs <bskeggs@redhat.com>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Adrian Hunter <adrian.hunter@intel.com>
Subject: Re: [PATCH v1] ACPI: Switch to use generic UUID API
Date: Thu, 4 May 2017 14:46:05 +0200 [thread overview]
Message-ID: <20170504124604.GA14127@8bytes.org> (raw)
In-Reply-To: <20170504092151.88646-1-andriy.shevchenko@linux.intel.com>
On Thu, May 04, 2017 at 12:21:51PM +0300, Andy Shevchenko wrote:
> diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
> index cbf7763d8091..420d51b286ad 100644
> --- a/drivers/iommu/dmar.c
> +++ b/drivers/iommu/dmar.c
> @@ -1808,10 +1808,9 @@ IOMMU_INIT_POST(detect_intel_iommu);
> * for Directed-IO Architecture Specifiction, Rev 2.2, Section 8.8
> * "Remapping Hardware Unit Hot Plug".
> */
> -static u8 dmar_hp_uuid[] = {
> - /* 0000 */ 0xA6, 0xA3, 0xC1, 0xD8, 0x9B, 0xBE, 0x9B, 0x4C,
> - /* 0008 */ 0x91, 0xBF, 0xC3, 0xCB, 0x81, 0xFC, 0x5D, 0xAF
> -};
> +static uuid_le dmar_hp_uuid =
> + UUID_LE(0xD8C1A3A6, 0xBE9B, 0x4C9B,
> + 0x91, 0xBF, 0xC3, 0xCB, 0x81, 0xFC, 0x5D, 0xAF);
>
> /*
> * Currently there's only one revision and BIOS will not check the revision id,
> @@ -1824,7 +1823,7 @@ static u8 dmar_hp_uuid[] = {
>
> static inline bool dmar_detect_dsm(acpi_handle handle, int func)
> {
> - return acpi_check_dsm(handle, dmar_hp_uuid, DMAR_DSM_REV_ID, 1 << func);
> + return acpi_check_dsm(handle, &dmar_hp_uuid, DMAR_DSM_REV_ID, 1 << func);
> }
>
> static int dmar_walk_dsm_resource(acpi_handle handle, int func,
> @@ -1843,7 +1842,7 @@ static int dmar_walk_dsm_resource(acpi_handle handle, int func,
> if (!dmar_detect_dsm(handle, func))
> return 0;
>
> - obj = acpi_evaluate_dsm_typed(handle, dmar_hp_uuid, DMAR_DSM_REV_ID,
> + obj = acpi_evaluate_dsm_typed(handle, &dmar_hp_uuid, DMAR_DSM_REV_ID,
> func, NULL, ACPI_TYPE_BUFFER);
> if (!obj)
> return -ENODEV;
DMAR part is
Acked-by: Joerg Roedel <jroedel@suse.de>
WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-acpi@vger.kernel.org, tpmdd-devel@lists.sourceforge.net,
intel-gfx@lists.freedesktop.org, nouveau@lists.freedesktop.org,
linux-input@vger.kernel.org, iommu@lists.linux-foundation.org,
linux-mmc@vger.kernel.org, netdev@vger.kernel.org,
linux-pci@vger.kernel.org, linux-usb@vger.kernel.org,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Borislav Petkov <bp@suse.de>,
Dan Williams <dan.j.williams@intel.com>,
Amir Goldstein <amir73il@gmail.com>,
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
Jani Nikula <jani.nikula@linux.intel.com>,
Ben Skeggs <bskeggs@redhat.com>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Yisen Zhuang <yisen.zhuang@huawei.com>,
Bjorn Helgaas <bhelgaas@google.com>,
Zhang Rui <rui.zhang@intel.com>, Felipe Balbi <balbi@kernel.org>,
Mathias Nyman <mathias.nyman@intel.com>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Subject: Re: [PATCH v1] ACPI: Switch to use generic UUID API
Date: Thu, 4 May 2017 14:46:05 +0200 [thread overview]
Message-ID: <20170504124604.GA14127@8bytes.org> (raw)
In-Reply-To: <20170504092151.88646-1-andriy.shevchenko@linux.intel.com>
On Thu, May 04, 2017 at 12:21:51PM +0300, Andy Shevchenko wrote:
> diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
> index cbf7763d8091..420d51b286ad 100644
> --- a/drivers/iommu/dmar.c
> +++ b/drivers/iommu/dmar.c
> @@ -1808,10 +1808,9 @@ IOMMU_INIT_POST(detect_intel_iommu);
> * for Directed-IO Architecture Specifiction, Rev 2.2, Section 8.8
> * "Remapping Hardware Unit Hot Plug".
> */
> -static u8 dmar_hp_uuid[] = {
> - /* 0000 */ 0xA6, 0xA3, 0xC1, 0xD8, 0x9B, 0xBE, 0x9B, 0x4C,
> - /* 0008 */ 0x91, 0xBF, 0xC3, 0xCB, 0x81, 0xFC, 0x5D, 0xAF
> -};
> +static uuid_le dmar_hp_uuid =
> + UUID_LE(0xD8C1A3A6, 0xBE9B, 0x4C9B,
> + 0x91, 0xBF, 0xC3, 0xCB, 0x81, 0xFC, 0x5D, 0xAF);
>
> /*
> * Currently there's only one revision and BIOS will not check the revision id,
> @@ -1824,7 +1823,7 @@ static u8 dmar_hp_uuid[] = {
>
> static inline bool dmar_detect_dsm(acpi_handle handle, int func)
> {
> - return acpi_check_dsm(handle, dmar_hp_uuid, DMAR_DSM_REV_ID, 1 << func);
> + return acpi_check_dsm(handle, &dmar_hp_uuid, DMAR_DSM_REV_ID, 1 << func);
> }
>
> static int dmar_walk_dsm_resource(acpi_handle handle, int func,
> @@ -1843,7 +1842,7 @@ static int dmar_walk_dsm_resource(acpi_handle handle, int func,
> if (!dmar_detect_dsm(handle, func))
> return 0;
>
> - obj = acpi_evaluate_dsm_typed(handle, dmar_hp_uuid, DMAR_DSM_REV_ID,
> + obj = acpi_evaluate_dsm_typed(handle, &dmar_hp_uuid, DMAR_DSM_REV_ID,
> func, NULL, ACPI_TYPE_BUFFER);
> if (!obj)
> return -ENODEV;
DMAR part is
Acked-by: Joerg Roedel <jroedel@suse.de>
WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-acpi@vger.kernel.org, tpmdd-devel@lists.sourceforge.net,
intel-gfx@lists.freedesktop.org, nouveau@lists.freedesktop.org,
linux-input@vger.kernel.org, iommu@lists.linux-foundation.org,
linux-mmc@vger.kernel.org, netdev@vger.kernel.org,
linux-pci@vger.kernel.org, linux-usb@vger.kernel.org,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Borislav Petkov <bp@suse.de>,
Dan Williams <dan.j.williams@intel.com>,
Amir Goldstein <amir73il@gmail.com>,
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
Jani Nikula <jani.nikula@linux.intel.com>,
Ben Skeggs <bskeggs@redhat.com>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Subject: Re: [PATCH v1] ACPI: Switch to use generic UUID API
Date: Thu, 4 May 2017 14:46:05 +0200 [thread overview]
Message-ID: <20170504124604.GA14127@8bytes.org> (raw)
In-Reply-To: <20170504092151.88646-1-andriy.shevchenko@linux.intel.com>
On Thu, May 04, 2017 at 12:21:51PM +0300, Andy Shevchenko wrote:
> diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c
> index cbf7763d8091..420d51b286ad 100644
> --- a/drivers/iommu/dmar.c
> +++ b/drivers/iommu/dmar.c
> @@ -1808,10 +1808,9 @@ IOMMU_INIT_POST(detect_intel_iommu);
> * for Directed-IO Architecture Specifiction, Rev 2.2, Section 8.8
> * "Remapping Hardware Unit Hot Plug".
> */
> -static u8 dmar_hp_uuid[] = {
> - /* 0000 */ 0xA6, 0xA3, 0xC1, 0xD8, 0x9B, 0xBE, 0x9B, 0x4C,
> - /* 0008 */ 0x91, 0xBF, 0xC3, 0xCB, 0x81, 0xFC, 0x5D, 0xAF
> -};
> +static uuid_le dmar_hp_uuid =
> + UUID_LE(0xD8C1A3A6, 0xBE9B, 0x4C9B,
> + 0x91, 0xBF, 0xC3, 0xCB, 0x81, 0xFC, 0x5D, 0xAF);
>
> /*
> * Currently there's only one revision and BIOS will not check the revision id,
> @@ -1824,7 +1823,7 @@ static u8 dmar_hp_uuid[] = {
>
> static inline bool dmar_detect_dsm(acpi_handle handle, int func)
> {
> - return acpi_check_dsm(handle, dmar_hp_uuid, DMAR_DSM_REV_ID, 1 << func);
> + return acpi_check_dsm(handle, &dmar_hp_uuid, DMAR_DSM_REV_ID, 1 << func);
> }
>
> static int dmar_walk_dsm_resource(acpi_handle handle, int func,
> @@ -1843,7 +1842,7 @@ static int dmar_walk_dsm_resource(acpi_handle handle, int func,
> if (!dmar_detect_dsm(handle, func))
> return 0;
>
> - obj = acpi_evaluate_dsm_typed(handle, dmar_hp_uuid, DMAR_DSM_REV_ID,
> + obj = acpi_evaluate_dsm_typed(handle, &dmar_hp_uuid, DMAR_DSM_REV_ID,
> func, NULL, ACPI_TYPE_BUFFER);
> if (!obj)
> return -ENODEV;
DMAR part is
Acked-by: Joerg Roedel <jroedel@suse.de>
next prev parent reply other threads:[~2017-05-04 12:46 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-04 9:21 [PATCH v1] ACPI: Switch to use generic UUID API Andy Shevchenko
2017-05-04 9:21 ` Andy Shevchenko
2017-05-04 9:37 ` Jani Nikula
2017-05-04 9:37 ` Jani Nikula
2017-05-04 9:37 ` Jani Nikula
2017-05-04 12:14 ` Heikki Krogerus
2017-05-04 12:14 ` Heikki Krogerus
2017-05-04 12:46 ` Joerg Roedel [this message]
2017-05-04 12:46 ` Joerg Roedel
2017-05-04 12:46 ` Joerg Roedel
2017-05-04 13:51 ` Bjorn Helgaas
2017-05-04 13:51 ` Bjorn Helgaas
2017-05-04 13:51 ` Bjorn Helgaas
2017-05-04 15:29 ` Benjamin Tissoires
2017-05-04 15:29 ` Benjamin Tissoires
2017-05-05 6:04 ` kbuild test robot
2017-05-05 6:04 ` kbuild test robot
2017-05-05 6:04 ` [Intel-gfx] " kbuild test robot
2017-05-05 6:20 ` Dan Williams
2017-05-05 6:20 ` Dan Williams
2017-05-05 6:20 ` Dan Williams
2017-05-05 7:06 ` Amir Goldstein
2017-05-05 7:06 ` Amir Goldstein
2017-05-05 7:06 ` Amir Goldstein
[not found] ` <CAOQ4uxjha8_2_HwgdgBN=G-vNytAW5Gk155E9z8OWyFiGNEZVw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-05 7:30 ` Christoph Hellwig
2017-05-05 7:30 ` Christoph Hellwig
2017-05-05 7:30 ` Christoph Hellwig
2017-05-05 9:24 ` Andy Shevchenko
2017-05-05 9:24 ` Andy Shevchenko
2017-05-05 9:50 ` Amir Goldstein
2017-05-05 9:50 ` Amir Goldstein
2017-05-05 9:57 ` Christoph Hellwig
2017-05-05 9:57 ` Christoph Hellwig
2017-05-05 9:57 ` Christoph Hellwig
2017-05-05 10:02 ` Amir Goldstein
2017-05-05 10:02 ` Amir Goldstein
2017-05-09 7:56 ` Felipe Balbi
2017-05-09 7:56 ` Felipe Balbi
2017-05-09 7:56 ` Felipe Balbi
2017-05-09 8:22 ` Mathias Nyman
2017-05-09 8:22 ` Mathias Nyman
2017-05-10 1:20 ` Zhang Rui
[not found] ` <20170504092151.88646-1-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-22 19:08 ` Andy Shevchenko
2017-05-22 19:08 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170504124604.GA14127@8bytes.org \
--to=joro@8bytes.org \
--cc=adrian.hunter@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=amir73il@gmail.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=benjamin.tissoires@redhat.com \
--cc=bp@suse.de \
--cc=bskeggs@redhat.com \
--cc=dan.j.williams@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=iommu@lists.linux-foundation.org \
--cc=jani.nikula@linux.intel.com \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=netdev@vger.kernel.org \
--cc=nouveau@lists.freedesktop.org \
--cc=rjw@rjwysocki.net \
--cc=tpmdd-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.