File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,10 @@ config HAVE_MARCH_Z16_FEATURES
332
332
def_bool n
333
333
select HAVE_MARCH_Z15_FEATURES
334
334
335
+ config HAVE_MARCH_Z17_FEATURES
336
+ def_bool n
337
+ select HAVE_MARCH_Z16_FEATURES
338
+
335
339
choice
336
340
prompt "Processor type"
337
341
default MARCH_Z196
@@ -397,6 +401,14 @@ config MARCH_Z16
397
401
Select this to enable optimizations for IBM z16 (3931 and
398
402
3932 series).
399
403
404
+ config MARCH_Z17
405
+ bool "IBM z17"
406
+ select HAVE_MARCH_Z17_FEATURES
407
+ depends on $(cc-option,-march=z17)
408
+ help
409
+ Select this to enable optimizations for IBM z17 (9175 and
410
+ 9176 series).
411
+
400
412
endchoice
401
413
402
414
config MARCH_Z10_TUNE
@@ -420,6 +432,9 @@ config MARCH_Z15_TUNE
420
432
config MARCH_Z16_TUNE
421
433
def_bool TUNE_Z16 || MARCH_Z16 && TUNE_DEFAULT
422
434
435
+ config MARCH_Z17_TUNE
436
+ def_bool TUNE_Z17 || MARCH_Z17 && TUNE_DEFAULT
437
+
423
438
choice
424
439
prompt "Tune code generation"
425
440
default TUNE_DEFAULT
@@ -464,6 +479,10 @@ config TUNE_Z16
464
479
bool "IBM z16"
465
480
depends on $(cc-option,-mtune=z16)
466
481
482
+ config TUNE_Z17
483
+ bool "IBM z17"
484
+ depends on $(cc-option,-mtune=z17)
485
+
467
486
endchoice
468
487
469
488
config 64BIT
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ mflags-$(CONFIG_MARCH_Z13) := -march=z13
48
48
mflags-$(CONFIG_MARCH_Z14) := -march=z14
49
49
mflags-$(CONFIG_MARCH_Z15) := -march=z15
50
50
mflags-$(CONFIG_MARCH_Z16) := -march=z16
51
+ mflags-$(CONFIG_MARCH_Z17) := -march=z17
51
52
52
53
export CC_FLAGS_MARCH := $(mflags-y )
53
54
@@ -61,6 +62,7 @@ cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13
61
62
cflags-$(CONFIG_MARCH_Z14_TUNE) += -mtune=z14
62
63
cflags-$(CONFIG_MARCH_Z15_TUNE) += -mtune=z15
63
64
cflags-$(CONFIG_MARCH_Z16_TUNE) += -mtune=z16
65
+ cflags-$(CONFIG_MARCH_Z17_TUNE) += -mtune=z17
64
66
65
67
cflags-y += -Wa,-I$(srctree ) /arch/$(ARCH ) /include
66
68
Original file line number Diff line number Diff line change 33
33
#define MARCH_HAS_Z16_FEATURES 1
34
34
#endif
35
35
36
+ #ifdef CONFIG_HAVE_MARCH_Z17_FEATURES
37
+ #define MARCH_HAS_Z17_FEATURES 1
38
+ #endif
39
+
36
40
#endif /* __DECOMPRESSOR */
37
41
38
42
#endif /* __ASM_S390_MARCH_H */
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ static struct facility_def facility_defs[] = {
53
53
#endif
54
54
#ifdef CONFIG_HAVE_MARCH_Z15_FEATURES
55
55
61 , /* miscellaneous-instruction-extension 3 */
56
+ #endif
57
+ #ifdef CONFIG_HAVE_MARCH_Z17_FEATURES
58
+ 84 , /* miscellaneous-instruction-extension 4 */
56
59
#endif
57
60
-1 /* END */
58
61
}
You can’t perform that action at this time.
0 commit comments