diff options
author | Lakshmanan M <lm@nvidia.com> | 2017-05-10 03:08:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-18 12:04:28 -0400 |
commit | ffc37e50fa8e869e9a160b35f3cf414040e8a360 (patch) | |
tree | 3b782fb489d10b52ab7ba12d8bbf7a6d10198ff9 /drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | |
parent | 808af68d962b85594c2accd1069c6a2de35c50e4 (diff) |
gpu: nvgpu: gv11b: Add L1 tags parity support
This CL covers the following parity support (corrected + uncorrected),
1) SM's L1 tags
2) SM's S2R's pixel PRF buffer
3) SM's L1 D-cache miss latency FIFOs
Volta Resiliency Id - Volta-720, Volta-721, Volta-637
JIRA GPUT19X-85
JIRA GPUT19X-104
JIRA GPUT19X-100
JIRA GPUT19X-103
Bug 1825948
Bug 1825962
Bug 1775457
Change-Id: I53d7231a36b2c7c252395eca27b349eca80dec63
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1478881
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h index 592a7899..d45385a8 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h | |||
@@ -482,6 +482,78 @@ static inline u32 gr_pri_gpc0_tpc0_sm_lrf_ecc_status_r(void) | |||
482 | { | 482 | { |
483 | return 0x00504358; | 483 | return 0x00504358; |
484 | } | 484 | } |
485 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_r(void) | ||
486 | { | ||
487 | return 0x00504624; | ||
488 | } | ||
489 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_corrected_err_el1_0_m(void) | ||
490 | { | ||
491 | return 0x1 << 0; | ||
492 | } | ||
493 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_corrected_err_el1_1_m(void) | ||
494 | { | ||
495 | return 0x1 << 1; | ||
496 | } | ||
497 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_uncorrected_err_el1_0_m(void) | ||
498 | { | ||
499 | return 0x1 << 2; | ||
500 | } | ||
501 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_uncorrected_err_el1_1_m(void) | ||
502 | { | ||
503 | return 0x1 << 3; | ||
504 | } | ||
505 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_corrected_err_pixrpf_m(void) | ||
506 | { | ||
507 | return 0x1 << 4; | ||
508 | } | ||
509 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_corrected_err_miss_fifo_m(void) | ||
510 | { | ||
511 | return 0x1 << 5; | ||
512 | } | ||
513 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_uncorrected_err_pixrpf_m(void) | ||
514 | { | ||
515 | return 0x1 << 6; | ||
516 | } | ||
517 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_uncorrected_err_miss_fifo_m(void) | ||
518 | { | ||
519 | return 0x1 << 7; | ||
520 | } | ||
521 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_corrected_err_total_counter_overflow_v(u32 r) | ||
522 | { | ||
523 | return (r >> 8) & 0x1; | ||
524 | } | ||
525 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_uncorrected_err_total_counter_overflow_v(u32 r) | ||
526 | { | ||
527 | return (r >> 10) & 0x1; | ||
528 | } | ||
529 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_status_reset_task_f(void) | ||
530 | { | ||
531 | return 0x40000000; | ||
532 | } | ||
533 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_corrected_err_count_r(void) | ||
534 | { | ||
535 | return 0x00504628; | ||
536 | } | ||
537 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_corrected_err_count_total_s(void) | ||
538 | { | ||
539 | return 16; | ||
540 | } | ||
541 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_corrected_err_count_total_v(u32 r) | ||
542 | { | ||
543 | return (r >> 0) & 0xffff; | ||
544 | } | ||
545 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_uncorrected_err_count_r(void) | ||
546 | { | ||
547 | return 0x0050462c; | ||
548 | } | ||
549 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_uncorrected_err_count_total_s(void) | ||
550 | { | ||
551 | return 16; | ||
552 | } | ||
553 | static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_uncorrected_err_count_total_v(u32 r) | ||
554 | { | ||
555 | return (r >> 0) & 0xffff; | ||
556 | } | ||
485 | static inline u32 gr_pri_gpc0_tpc0_tex_m_routing_r(void) | 557 | static inline u32 gr_pri_gpc0_tpc0_tex_m_routing_r(void) |
486 | { | 558 | { |
487 | return 0x005042c4; | 559 | return 0x005042c4; |