SQL Server suspended queries - tempDb pagelatch_up 2:1:2
Is it an issue with table-valued parameters, and this is the reason for pagelatch_up as this is a select statement in SP?
Table-valued parameters create an activity on the tempdb database
for this reason, your stored procedure might be caused to tempdb allocation contention.
The main symptoms of this issue is to see the following wait types in the tempdb database;

PAGELATCH_UP
PAGELATCH_SH
PAGELATCH_EX

In general, you can solve this problem to create multiple tempdb data files because of the
your SQL Server version you might be used to
-T1117 and -T1118 flags.
Any other replacement for Table Value Parameters?
On the other hand, using the Memory-Optimized Table Variables can solve this type of problems
using the Memory-Optimized Table Types and Table Variables
Would you suggest increasing the number of tempDb files from 8 to 12, 16, ...32?
This is the best practice:
The number of the TempDB data files should match the number of logical processors, up to eight files, on the machine where the SQL Server instance is installed.
However, this value can change according to your requirements.