)]}'
{
  "commit": "4d3579f7f904cddf55264c427b746e1ac1a83d7c",
  "tree": "e5ae68ff23d424543682e6cbf5c25419a04d6457",
  "parents": [
    "3dde2643295d5ca5550adc331564134301dd14ba"
  ],
  "author": {
    "name": "Thomas Gleixner",
    "email": "tglx@linutronix.de",
    "time": "Tue Aug 07 08:19:57 2018 +0200"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Aug 15 17:37:33 2018 +0200"
  },
  "message": "cpu/hotplug: Fix SMT supported evaluation\n\ncommit bc2d8d262cba5736332cbc866acb11b1c5748aa9 upstream.\n\nJosh reported that the late SMT evaluation in cpu_smt_state_init() sets\ncpu_smt_control to CPU_SMT_NOT_SUPPORTED in case that \u0027nosmt\u0027 was supplied\non the kernel command line as it cannot differentiate between SMT disabled\nby BIOS and SMT soft disable via \u0027nosmt\u0027. That wreckages the state and\nmakes the sysfs interface unusable.\n\nRework this so that during bringup of the non boot CPUs the availability of\nSMT is determined in cpu_smt_allowed(). If a newly booted CPU is not a\n\u0027primary\u0027 thread then set the local cpu_smt_available marker and evaluate\nthis explicitely right after the initial SMP bringup has finished.\n\nSMT evaulation on x86 is a trainwreck as the firmware has all the\ninformation _before_ booting the kernel, but there is no interface to query\nit.\n\nFixes: 73d5e2b47264 (\"cpu/hotplug: detect SMT disabled by BIOS\")\nReported-by: Josh Poimboeuf \u003cjpoimboe@redhat.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "54094c9c3dc2e94921228b93f42e09da5b242a10",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/cpu/bugs.c",
      "new_id": "c4f0ae49a53d07592b68bb26ba2641f5095e4b32",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/cpu/bugs.c"
    },
    {
      "type": "modify",
      "old_id": "a0363a3232e0e791236146671b5844672a31447e",
      "old_mode": 33188,
      "old_path": "include/linux/cpu.h",
      "new_id": "45789a892c41f50cef872c2e21362d1227d52781",
      "new_mode": 33188,
      "new_path": "include/linux/cpu.h"
    },
    {
      "type": "modify",
      "old_id": "7bc26139d99c4ee0198321a39f79928084b1bb8d",
      "old_mode": 33188,
      "old_path": "kernel/cpu.c",
      "new_id": "80b606d21913422f783609a01013d958a4b61171",
      "new_mode": 33188,
      "new_path": "kernel/cpu.c"
    },
    {
      "type": "modify",
      "old_id": "084c8b3a26812d78e3eb2da63d46091e491a7e23",
      "old_mode": 33188,
      "old_path": "kernel/smp.c",
      "new_id": "d86eec5f51c12783104b5fec449b60d8d9fa3f65",
      "new_mode": 33188,
      "new_path": "kernel/smp.c"
    }
  ]
}
