1. 26 Jun, 2017 1 commit
  2. 20 Jun, 2017 4 commits
    • Borislav Petkov's avatar
      x86/microcode/intel: Save pointer to ucode patch for early AP loading · bd207330
      Borislav Petkov authored
      Normally, when the initrd is gone, we can't search it for microcode
      blobs to apply anymore. For that we need to stash away the patch in our
      own storage.
      
      And save_microcode_in_initrd_intel() looks like the proper place to
      do that from. So in order for early loading to work, invalidate the
      intel_ucode_patch pointer to the patch *before* scanning the initrd one
      last time.
      
      If the scanning code finds a microcode patch, it will assign that
      pointer again, this time with our own storage's address.
      
      This way, early microcode application during resume-from-RAM works too,
      even after the initrd is long gone.
      Tested-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/20170614140626.4462-2-bp@alien8.deSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      bd207330
    • Borislav Petkov's avatar
      x86/microcode: Look for the initrd at the correct address on 32-bit · a3d98c93
      Borislav Petkov authored
      Early during boot, the BSP finds the ramdisk's position from boot_params
      but by the time the APs get to boot, the BSP has continued in the mean
      time and has potentially managed to relocate that ramdisk.
      
      And in that case, the APs need to find the ramdisk at its new position,
      in *physical* memory as they're running before paging has been enabled.
      
      Thus, get the updated physical location of the ramdisk which is in the
      relocated_ramdisk variable.
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Link: http://lkml.kernel.org/r/20170614140626.4462-1-bp@alien8.deSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      a3d98c93
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 9705596d
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "One build fix for an Amlogic clk driver and a handful of Allwinner clk
        driver fixes for some DT bindings and a randconfig build error that
        all came in this merge window"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: sunxi-ng: a64: Export PLL_PERIPH0 clock for the PRCM
        clk: sunxi-ng: h3: Export PLL_PERIPH0 clock for the PRCM
        dt-bindings: clock: sunxi-ccu: Add pll-periph to PRCM's needed clocks
        clk: sunxi-ng: sun5i: Fix ahb_bist_clk definition
        clk: sunxi-ng: enable SUNXI_CCU_MP for PRCM
        clk: meson: gxbb: fix build error without RESET_CONTROLLER
        clk: sunxi-ng: v3s: Fix usb otg device reset bit
        clk: sunxi-ng: a31: Correct lcd1-ch1 clock register offset
      9705596d
    • Linus Torvalds's avatar
      Merge tag 'ntb-4.12-bugfixes' of git://github.com/jonmason/ntb · 865be780
      Linus Torvalds authored
      Pull NTB fixes from Jon Mason:
       "NTB bug fixes to address the modinfo in ntb_perf, a couple of bugs in
        the NTB transport QP calculations, skx doorbells, and sleeping in
        ntb_async_tx_submit"
      
      * tag 'ntb-4.12-bugfixes' of git://github.com/jonmason/ntb:
        ntb: no sleep in ntb_async_tx_submit
        ntb: ntb_hw_intel: Skylake doorbells should be 32bits, not 64bits
        ntb_transport: fix bug calculating num_qps_mw
        ntb_transport: fix qp count bug
        NTB: ntb_test: fix bug printing ntb_perf results
        ntb: Correct modinfo usage statement for ntb_perf
      865be780
  3. 19 Jun, 2017 14 commits
  4. 18 Jun, 2017 7 commits
  5. 17 Jun, 2017 7 commits
  6. 16 Jun, 2017 7 commits