diff options
author | Sreekanth Reddy <sreekanth.reddy@avagotech.com> | 2015-01-12 11:39:03 +0530 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-01-13 16:27:28 +0100 |
commit | 14b3114d940cdc4fea8afdab8e23508361db027f (patch) | |
tree | 836a81b64136e75dbd002ea13e425928b9835b95 /include/dt-bindings/clock/exynos-audss-clk.h | |
parent | a03bd153b1b31c24b00d516bdbf9370ab8132650 (diff) | |
download | op-kernel-dev-14b3114d940cdc4fea8afdab8e23508361db027f.zip op-kernel-dev-14b3114d940cdc4fea8afdab8e23508361db027f.tar.gz |
mpt2sas, mpt3sas: set cpu affinity for each MSIX vectors
Added a support to set cpu affinity mask for each MSIX vector enabled
by the HBA. So that, running the irqbalancer will balance interrupts among
the cpus.
Change_set:
1. Added affinity_hint varable of type cpumask_var_t in adapter_reply_queue
structure. And allocated a memory for this varable by calling
alloc_cpumask_var.
2. Call the API irq_set_affinity_hint for each MSIx vector to affiniate it
with calculated cpus at driver inilization time.
3. While freeing the MSIX vector, call this same API to release the cpu
affinity mask for each MSIx vector by providing the NULL value in
cpumask argument.
4. then call the free_cpumask_var API to free the memory allocated in step 2.
Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/dt-bindings/clock/exynos-audss-clk.h')
0 files changed, 0 insertions, 0 deletions