1. Aug 09, 2018
  2. Aug 07, 2018
  3. Aug 01, 2018
    • Martin Schwidefsky's avatar
      s390/numa: move initial setup of node_to_cpumask_map · fb7d7518
      Martin Schwidefsky authored
      The numa_init_early initcall sets the node_to_cpumask_map[0] to the
      full cpu_possible_mask. Unfortunately this early_initcall is too late,
      the NUMA setup for numa=emu is done even earlier. The order of calls
      is numa_setup() -> emu_update_cpu_topology(), then the early_initcalls(),
      followed by sched_init_domains().
      
      Starting with git commit 051f3ca0
      
      
      "sched/topology: Introduce NUMA identity node sched domain"
      the incorrect node_to_cpumask_map[0] really screws up the domain
      setup and the kernel panics with the follow oops:
      
      Cc: <stable@vger.kernel.org> # v4.15+
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      fb7d7518
  4. Jul 31, 2018
  5. Jul 30, 2018
  6. Jul 25, 2018
    • Martin Schwidefsky's avatar
      s390: reenable gcc plugins · 6eedfaac
      Martin Schwidefsky authored
      
      
      Now that the early boot rework is upstream we can enable the gcc plugins
      again. See git commit 72f108b308707f21499e0ac05bf7370360cf06d8
      "s390: disable gcc plugins" for reference.
      
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      6eedfaac
    • Martin Schwidefsky's avatar
      s390: disable gcc plugins · 2a6777a1
      Martin Schwidefsky authored
      
      
      The s390 build currently fails with the latent entropy plugin:
      
      arch/s390/kernel/als.o: In function `verify_facilities':
      als.c:(.init.text+0x24): undefined reference to `latent_entropy'
      als.c:(.init.text+0xae): undefined reference to `latent_entropy'
      make[3]: *** [arch/s390/boot/compressed/vmlinux] Error 1
      make[2]: *** [arch/s390/boot/compressed/vmlinux] Error 2
      make[1]: *** [bzImage] Error 2
      
      This will be fixed with the early boot rework from Vasily, which
      is planned for the 4.19 merge window.
      
      For 4.18 the simplest solution is to disable the gcc plugins and
      reenable them after the early boot rework is upstream.
      
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      (cherry picked from commit 2fba3573)
      2a6777a1
  7. Jul 23, 2018
    • Souptick Joarder's avatar
      s390: vdso_fault return type · ef4b891f
      Souptick Joarder authored
      
      
      Use new return type vm_fault_t for fault handler vdso_fault.
      
      Signed-off-by: default avatarSouptick Joarder <jrdr.linux@gmail.com>
      Reviewed-by: default avatarMatthew Wilcox <willy@infradead.org>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      ef4b891f
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point class s390_class_schib · d1de8633
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the necessary members.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed...
      d1de8633
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_tsch · 933df441
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the necessary members.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      933df441
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_adapter_int · 27c0620c
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the necessary members.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      27c0620c
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_stcrw · 67faae15
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      the __field macro for the missing members.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      67faae15
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_tpi · 5925e819
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the members adapter_IO, isc and type
      of struct tpi_info.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      5925e819
    • Thomas Richter's avatar
      s390 cio: Rewrite trace point in s390_cio_interrupt · 661c959b
      Thomas Richter authored
      
      
      Tools like 'perf stat' parse the trace point format files defined
      in /sys/kernel/debug/tracing/events/s390/.../format to handle
      the print fmt: statement. The kernel provides a library in
      directory linux/tools/lib/traceevent/* for this reason.
      
      This library can not handle structures or unions defined in
      the TRACE_EVENT/TP_STRUCT__entry macros with __field_struct macro.
      There is no possibility to extract a structure member
      (which might be a bit field) since there is no packing
      information nor bit field offset by parsing the printf fmt line.
      
      Therefore rewrite the TRACE_EVENT macro and add the
      __field macro for the necessary fields.
      Keep the __fieldstruct macro to extract the complete
      structure when dumps are analysed.
      
      Note that the same information is displayed, this is no
      interface change.
      
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.ibm.com>
      Acked-by: default avatarSebastian Ott <sebott@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      661c959b
  8. Jul 19, 2018
  9. Jul 18, 2018
  10. Jul 17, 2018