<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/glue.c, branch linux-4.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-11-07T00:30:10Z</updated>
<entry>
<title>Merge branch 'acpi-pci'</title>
<updated>2015-11-07T00:30:10Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2015-11-07T00:30:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2115faaf0df42623638dfbfc5bdaab6ef7375ab'/>
<id>urn:sha1:f2115faaf0df42623638dfbfc5bdaab6ef7375ab</id>
<content type='text'>
* acpi-pci:
  PCI: ACPI: Add support for PCI device DMA coherency
  PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()
  of/pci: Fix pci_get_host_bridge_device leak
  device property: ACPI: Remove unused DMA APIs
  device property: ACPI: Make use of the new DMA Attribute APIs
  device property: Adding DMA Attribute APIs for Generic Devices
  ACPI: Adding DMA Attribute APIs for ACPI Device
  device property: Introducing enum dev_dma_attr
  ACPI: Honor ACPI _CCA attribute setting

Conflicts:
	drivers/crypto/ccp/ccp-platform.c
</content>
</entry>
<entry>
<title>device property: ACPI: Make use of the new DMA Attribute APIs</title>
<updated>2015-11-07T00:29:22Z</updated>
<author>
<name>Suthikulpanit, Suravee</name>
</author>
<published>2015-10-28T22:50:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1831eff876bd0bb8d64e9965a7ff47486c9a3ecd'/>
<id>urn:sha1:1831eff876bd0bb8d64e9965a7ff47486c9a3ecd</id>
<content type='text'>
Now that we have the new DMA attribute APIs, we can replace the older
acpi_check_dma() and device_dma_is_coherent().

Signed-off-by: Suravee Suthikulpanit &lt;Suravee.Suthikulpanit@amd.com&gt;
Acked-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Reviewed-by: Hanjun Guo &lt;hanjun.guo@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: change init_acpi_device_notify() to return void</title>
<updated>2015-09-15T01:01:01Z</updated>
<author>
<name>Rami Rosen</name>
</author>
<published>2015-09-10T20:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c33cab60bc0e05ddf1ef1b2cba8d16dd010f600a'/>
<id>urn:sha1:c33cab60bc0e05ddf1ef1b2cba8d16dd010f600a</id>
<content type='text'>
This patch changes the type of the return value of the init_acpi_device_notify()
method to be void, as this method never fails and its return value is never
used.

Signed-off-by: Rami Rosen &lt;ramirose@gmail.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / scan: Parse _CCA and setup device coherency</title>
<updated>2015-06-15T12:40:48Z</updated>
<author>
<name>Suthikulpanit, Suravee</name>
</author>
<published>2015-06-10T16:08:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0562674838c08ff142c0e9a8e12634e133c4361'/>
<id>urn:sha1:d0562674838c08ff142c0e9a8e12634e133c4361</id>
<content type='text'>
This patch implements support for ACPI _CCA object, which is introduced in
ACPIv5.1, can be used for specifying device DMA coherency attribute.

The parsing logic traverses device namespace to parse coherency
information, and stores it in acpi_device_flags. Then uses it to call
arch_setup_dma_ops() when creating each device enumerated in DSDT
during ACPI scan.

This patch also introduces acpi_dma_is_coherent(), which provides
an interface for device drivers to check the coherency information
similarly to the of_dma_is_coherent().

Signed-off-by: Mark Salter &lt;msalter@redhat.com&gt;
Signed-off-by: Suravee Suthikulpanit &lt;Suravee.Suthikulpanit@amd.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Introduce has_acpi_companion()</title>
<updated>2015-03-16T22:49:08Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2015-03-16T22:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca5b74d2675a44f54aacb919c1cf022463e2f738'/>
<id>urn:sha1:ca5b74d2675a44f54aacb919c1cf022463e2f738</id>
<content type='text'>
Now that the ACPI companions of devices are represented by pointers
to struct fwnode_handle, it is not quite efficient to check whether
or not an ACPI companion of a device is present by evaluating the
ACPI_COMPANION() macro.

For this reason, introduce a special static inline routine for that,
has_acpi_companion(), and update the code to use it where applicable.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / scan: Add bind/unbind callbacks to struct acpi_scan_handler</title>
<updated>2014-02-10T23:35:46Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2014-02-10T23:35:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cb32acf095e806e864c29d060dd79580fcd3d4f'/>
<id>urn:sha1:9cb32acf095e806e864c29d060dd79580fcd3d4f</id>
<content type='text'>
In some cases it may be necessary to perform certain setup/cleanup
operations on a device object representing a physical device after
it has been associated with an ACPI companion by acpi_bind_one() or
before disassociating it from that companion by acpi_unbind_one(),
respectively.  If there is a struct acpi_bus_type object for the
given device's bus type, the .setup()/.cleanup() callbacks from there
are executed for these purposes.  However, an analogous mechanism will
be necessary for devices whose bus types don't have corresponding
struct acpi_bus_type objects and that have specific ACPI scan handlers.

For those devices, add new .bind() and .unbind() callbacks to struct
acpi_scan_handler that will be executed by acpi_platform_notify()
right after the given device has been associated with an ACPI
comapnion and by acpi_platform_notify_remove() right before calling
acpi_unbind_one() for that device, respectively.

To make that work for scan handlers registering new devices in their
.attach() callbacks, modify acpi_scan_attach_handler() to set the
ACPI device object's handler field before calling .attach() from the
scan handler at hand.

This changeset includes a fix from Mika Westerberg.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / bind: Move acpi_get_child() to drivers/ide/ide-acpi.c</title>
<updated>2013-12-07T00:05:50Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2013-11-29T15:27:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfecc2b3e34c6751343bacd317c4dfd1d695142c'/>
<id>urn:sha1:bfecc2b3e34c6751343bacd317c4dfd1d695142c</id>
<content type='text'>
Since drivers/ide/ide-acpi.c is the only remaining user of
acpi_get_child(), move that function into that file as a static
routine.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI / bind: Pass struct acpi_device pointer to acpi_bind_one()</title>
<updated>2013-12-07T00:05:50Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2013-11-29T15:27:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=24dee1fc99fd6d38fc859d7f6dda1dab21493bef'/>
<id>urn:sha1:24dee1fc99fd6d38fc859d7f6dda1dab21493bef</id>
<content type='text'>
There is no reason to pass an ACPI handle to acpi_bind_one() instead
of a struct acpi_device pointer to the target device object, so
modify that function to take a struct acpi_device pointer as its
second argument and update all code depending on it accordingly.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Tested-by: Lan Tianyu &lt;tianyu.lan@intel.com&gt; # for USB/ACPI
</content>
</entry>
<entry>
<title>ACPI / bind: Rework struct acpi_bus_type</title>
<updated>2013-12-07T00:05:50Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2013-11-29T15:27:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3f02c5228c4b600abf6ca243301176f25553bd5'/>
<id>urn:sha1:e3f02c5228c4b600abf6ca243301176f25553bd5</id>
<content type='text'>
Replace the .find_device function pointer in struct acpi_bus_type
with a new one, .find_companion, that is supposed to point to a
function returning struct acpi_device pointer (instead of an int)
and takes one argument (instead of two).  This way the role of
this callback is more clear and the implementation of it can
be more straightforward.

Update all of the users of struct acpi_bus_type (PCI, PNP/ACPI and
USB) to reflect the structure change.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Tested-by: Lan Tianyu &lt;tianyu.lan@intel.com&gt; # for USB/ACPI
</content>
</entry>
<entry>
<title>ACPI / bind: Redefine acpi_preset_companion()</title>
<updated>2013-12-07T00:05:49Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2013-11-28T22:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c5ad36d987a1b06f6b0b9dc7bc61a45d277455d'/>
<id>urn:sha1:9c5ad36d987a1b06f6b0b9dc7bc61a45d277455d</id>
<content type='text'>
Modify acpi_preset_companion() to take a struct acpi_device pointer
instead of an ACPI handle as its second argument and redefine it as
a static inline wrapper around ACPI_COMPANION_SET() passing the
return value of acpi_find_child_device() directly as the second
argument to it.  Update its users to pass struct acpi_device
pointers instead of ACPI handles to it.

This allows some unnecessary acpi_bus_get_device() calls to be
avoided.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Reviewed-by: Aaron Lu &lt;aaron.lu@intel.com&gt;
Tested-by: Aaron Lu &lt;aaron.lu@intel.com&gt; # for ATA binding
</content>
</entry>
</feed>
