]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
PCI: Reduce size of ATS structure elements
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jul 2015 20:27:34 +0000 (15:27 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Aug 2015 20:57:22 +0000 (15:57 -0500)
commit67930995d7fb8ae7d2078822b563010b289ace2e
tree1ff5b514c36b7f8cd11fef1d99bbb7bf367e6c1d
parentd544d75ac96aa1b0a8a378826626a0fbd8ce4380
PCI: Reduce size of ATS structure elements

The extended capabilities list is linked with 12-bit pointers, and the ATS
Smallest Translation Unit and Invalidate Queue Depth fields are both 5
bits.

Use u16 and u8 to hold the extended capability address and the stu and qdep
values.  No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
include/linux/pci.h