File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,6 +255,10 @@ config HAVE_MARCH_Z15_FEATURES
255255 def_bool n
256256 select HAVE_MARCH_Z14_FEATURES
257257
258+ config HAVE_MARCH_Z16_FEATURES
259+ def_bool n
260+ select HAVE_MARCH_Z15_FEATURES
261+
258262choice
259263 prompt "Processor type"
260264 default MARCH_Z196
@@ -312,6 +316,14 @@ config MARCH_Z15
312316 and 8561 series). The kernel will be slightly faster but will not
313317 work on older machines.
314318
319+ config MARCH_Z16
320+ bool "IBM z16"
321+ select HAVE_MARCH_Z16_FEATURES
322+ depends on $(cc-option,-march=z16)
323+ help
324+ Select this to enable optimizations for IBM z16 (3931 and
325+ 3932 series).
326+
315327endchoice
316328
317329config MARCH_Z10_TUNE
@@ -332,6 +344,9 @@ config MARCH_Z14_TUNE
332344config MARCH_Z15_TUNE
333345 def_bool TUNE_Z15 || MARCH_Z15 && TUNE_DEFAULT
334346
347+ config MARCH_Z16_TUNE
348+ def_bool TUNE_Z16 || MARCH_Z16 && TUNE_DEFAULT
349+
335350choice
336351 prompt "Tune code generation"
337352 default TUNE_DEFAULT
@@ -372,6 +387,10 @@ config TUNE_Z15
372387 bool "IBM z15"
373388 depends on $(cc-option,-mtune=z15)
374389
390+ config TUNE_Z16
391+ bool "IBM z16"
392+ depends on $(cc-option,-mtune=z16)
393+
375394endchoice
376395
377396config 64BIT
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ mflags-$(CONFIG_MARCH_ZEC12) := -march=zEC12
4242mflags-$(CONFIG_MARCH_Z13) := -march=z13
4343mflags-$(CONFIG_MARCH_Z14) := -march=z14
4444mflags-$(CONFIG_MARCH_Z15) := -march=z15
45+ mflags-$(CONFIG_MARCH_Z16) := -march=z16
4546
4647export CC_FLAGS_MARCH := $(mflags-y )
4748
@@ -54,6 +55,7 @@ cflags-$(CONFIG_MARCH_ZEC12_TUNE) += -mtune=zEC12
5455cflags-$(CONFIG_MARCH_Z13_TUNE) += -mtune=z13
5556cflags-$(CONFIG_MARCH_Z14_TUNE) += -mtune=z14
5657cflags-$(CONFIG_MARCH_Z15_TUNE) += -mtune=z15
58+ cflags-$(CONFIG_MARCH_Z16_TUNE) += -mtune=z16
5759
5860cflags-y += -Wa,-I$(srctree ) /arch/$(ARCH ) /include
5961
You can’t perform that action at this time.
0 commit comments