diff options
author | Christophe Lombard <clombard@linux.vnet.ibm.com> | 2017-04-07 10:11:57 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-13 09:34:30 -0400 |
commit | 64663f372c72cedeba1b1dc86df9cc159ae5a93d (patch) | |
tree | b90a385b03752d6b418966a616c363e52d8375eb /drivers/misc/cxl/native.c | |
parent | bdd2e7150644fee4de7167a3e08294ef32eeda11 (diff) |
cxl: Rename some psl8 specific functions
Rename a few functions, changing the '_psl' suffix to '_psl8', to make
clear that the implementation is psl8 specific.
Those functions will have an equivalent implementation for the psl9 in
a later patch.
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl/native.c')
-rw-r--r-- | drivers/misc/cxl/native.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/misc/cxl/native.c b/drivers/misc/cxl/native.c index c147863e149d..ee3164e89206 100644 --- a/drivers/misc/cxl/native.c +++ b/drivers/misc/cxl/native.c | |||
@@ -258,7 +258,7 @@ void cxl_release_spa(struct cxl_afu *afu) | |||
258 | } | 258 | } |
259 | } | 259 | } |
260 | 260 | ||
261 | int cxl_invalidate_all_psl(struct cxl *adapter) | 261 | int cxl_invalidate_all_psl8(struct cxl *adapter) |
262 | { | 262 | { |
263 | unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); | 263 | unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); |
264 | 264 | ||
@@ -578,7 +578,7 @@ static void update_ivtes_directed(struct cxl_context *ctx) | |||
578 | WARN_ON(add_process_element(ctx)); | 578 | WARN_ON(add_process_element(ctx)); |
579 | } | 579 | } |
580 | 580 | ||
581 | int cxl_attach_afu_directed_psl(struct cxl_context *ctx, u64 wed, u64 amr) | 581 | int cxl_attach_afu_directed_psl8(struct cxl_context *ctx, u64 wed, u64 amr) |
582 | { | 582 | { |
583 | u32 pid; | 583 | u32 pid; |
584 | int result; | 584 | int result; |
@@ -671,7 +671,7 @@ static int deactivate_afu_directed(struct cxl_afu *afu) | |||
671 | return 0; | 671 | return 0; |
672 | } | 672 | } |
673 | 673 | ||
674 | int cxl_activate_dedicated_process_psl(struct cxl_afu *afu) | 674 | int cxl_activate_dedicated_process_psl8(struct cxl_afu *afu) |
675 | { | 675 | { |
676 | dev_info(&afu->dev, "Activating dedicated process mode\n"); | 676 | dev_info(&afu->dev, "Activating dedicated process mode\n"); |
677 | 677 | ||
@@ -694,7 +694,7 @@ int cxl_activate_dedicated_process_psl(struct cxl_afu *afu) | |||
694 | return cxl_chardev_d_afu_add(afu); | 694 | return cxl_chardev_d_afu_add(afu); |
695 | } | 695 | } |
696 | 696 | ||
697 | void cxl_update_dedicated_ivtes_psl(struct cxl_context *ctx) | 697 | void cxl_update_dedicated_ivtes_psl8(struct cxl_context *ctx) |
698 | { | 698 | { |
699 | struct cxl_afu *afu = ctx->afu; | 699 | struct cxl_afu *afu = ctx->afu; |
700 | 700 | ||
@@ -710,7 +710,7 @@ void cxl_update_dedicated_ivtes_psl(struct cxl_context *ctx) | |||
710 | ((u64)ctx->irqs.range[3] & 0xffff)); | 710 | ((u64)ctx->irqs.range[3] & 0xffff)); |
711 | } | 711 | } |
712 | 712 | ||
713 | int cxl_attach_dedicated_process_psl(struct cxl_context *ctx, u64 wed, u64 amr) | 713 | int cxl_attach_dedicated_process_psl8(struct cxl_context *ctx, u64 wed, u64 amr) |
714 | { | 714 | { |
715 | struct cxl_afu *afu = ctx->afu; | 715 | struct cxl_afu *afu = ctx->afu; |
716 | u64 pid; | 716 | u64 pid; |
@@ -880,7 +880,7 @@ static int native_get_irq_info(struct cxl_afu *afu, struct cxl_irq_info *info) | |||
880 | return 0; | 880 | return 0; |
881 | } | 881 | } |
882 | 882 | ||
883 | void cxl_native_irq_dump_regs_psl(struct cxl_context *ctx) | 883 | void cxl_native_irq_dump_regs_psl8(struct cxl_context *ctx) |
884 | { | 884 | { |
885 | u64 fir1, fir2, fir_slice, serr, afu_debug; | 885 | u64 fir1, fir2, fir_slice, serr, afu_debug; |
886 | 886 | ||