1. 17 Sep, 2019 6 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-opp', 'pm-qos', 'acpi-pm', 'pm-domains' and 'pm-tools' · fc6763a2
      Rafael J. Wysocki authored
      * pm-opp:
        PM / OPP: Correct Documentation about library location
        opp: of: Support multiple suspend OPPs defined in DT
        dt-bindings: opp: Support multiple opp-suspend properties
        opp: core: add regulators enable and disable
        opp: Don't decrement uninitialized list_kref
      
      * pm-qos:
        PM: QoS: Get rid of unused flags
      
      * acpi-pm:
        ACPI: PM: Print debug messages on device power state changes
      
      * pm-domains:
        PM / Domains: Verify PM domain type in dev_pm_genpd_set_performance_state()
        PM / Domains: Simplify genpd_lookup_dev()
        PM / Domains: Align in-parameter names for some genpd functions
      
      * pm-tools:
        pm-graph: make setVal unbuffered again for python2 and python3
        cpupower: update German translation
        tools/power/cpupower: fix 64bit detection when cross-compiling
        cpupower: Add missing newline at end of file
        pm-graph v5.5
      fc6763a2
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-devfreq' · 031f469e
      Rafael J. Wysocki authored
      * pm-devfreq: (28 commits)
        PM / devfreq: passive: fix compiler warning
        PM / devfreq: passive: Use non-devm notifiers
        PM / devfreq: exynos-bus: Convert to use dev_pm_opp_set_rate()
        PM / devfreq: exynos-bus: Correct clock enable sequence
        PM / devfreq: Correct devm_devfreq_remove_device() documentation
        PM / devfreq: events: extend events by type of counted data
        PM / devfreq: exynos-events: change matching code during probe
        PM / devfreq: tegra20: add COMMON_CLK dependency
        PM / devfreq: events: add Exynos PPMU new events
        PM / devfreq: Fix kernel oops on governor module load
        PM / devfreq: rk3399_dmc: Fix spelling typo
        PM / devfreq: Fix spelling typo
        PM / devfreq: Introduce driver for NVIDIA Tegra20
        PM / devfreq: tegra: Rename tegra-devfreq.c to tegra30-devfreq.c
        PM / devfreq: tegra: Enable COMPILE_TEST for the driver
        PM / devfreq: tegra: Support Tegra30
        PM / devfreq: tegra: Reconfigure hardware on governor's restart
        PM / devfreq: tegra: Move governor registration to driver's probe
        PM / devfreq: tegra: Mark ACTMON's governor as immutable
        PM / devfreq: tegra: Avoid inconsistency of current frequency value
        ...
      031f469e
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · ca61a72a
      Rafael J. Wysocki authored
      * pm-cpufreq: (36 commits)
        cpufreq: Add qcs404 to cpufreq-dt-platdev blacklist
        cpufreq: qcom: Add support for qcs404 on nvmem driver
        cpufreq: qcom: Refactor the driver to make it easier to extend
        cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs
        dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR
        dt-bindings: opp: qcom-nvmem: Support pstates provided by a power domain
        Documentation: cpufreq: Update policy notifier documentation
        cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier events
        sched/cpufreq: Align trace event behavior of fast switching
        ACPI: cpufreq: Switch to QoS requests instead of cpufreq notifier
        video: pxafb: Remove cpufreq policy notifier
        video: sa1100fb: Remove cpufreq policy notifier
        arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFY
        cpufreq: powerpc_cbe: Switch to QoS requests for freq limits
        cpufreq: powerpc: macintosh: Switch to QoS requests for freq limits
        cpufreq: Print driver name if cpufreq_suspend() fails
        cpufreq: mediatek: Add support for mt8183
        cpufreq: mediatek: change to regulator_get_optional
        cpufreq: imx-cpufreq-dt: Add i.MX8MN support
        cpufreq: Use imx-cpufreq-dt for i.MX8MN's speed grading
        ...
      ca61a72a
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpuidle' · 2cdd5cc7
      Rafael J. Wysocki authored
      * pm-cpuidle:
        cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available
        cpuidle-haltpoll: do not set an owner to allow modunload
        cpuidle-haltpoll: return -ENODEV on modinit failure
        cpuidle-haltpoll: set haltpoll as preferred governor
        cpuidle: allow governor switch on cpuidle_register_driver()
        powercap: idle_inject: Use higher resolution for idle injection
        cpuidle: play_idle: Increase the resolution to usec
        cpuidle-haltpoll: vcpu hotplug support
        cpuidle: teo: Get rid of redundant check in teo_update()
        cpuidle: teo: Allow tick to be stopped if PM QoS is used
        cpuidle: menu: Allow tick to be stopped if PM QoS is used
        cpuidle: header file stubs must be "static inline"
        cpuidle-haltpoll: disable host side polling when kvm virtualized
        cpuidle: add haltpoll governor
        governors: unify last_state_idx
        cpuidle: add poll_limit_ns to cpuidle_device structure
        add cpuidle-haltpoll driver
      2cdd5cc7
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-sleep' · d2817063
      Rafael J. Wysocki authored
      * pm-sleep: (29 commits)
        ACPI: PM: s2idle: Always set up EC GPE for system wakeup
        ACPI: PM: s2idle: Avoid rearming SCI for wakeup unnecessarily
        PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}()
        PM / wakeup: Register wakeup class kobj after device is added
        PM / wakeup: Fix sysfs registration error path
        PM / wakeup: Show wakeup sources stats in sysfs
        PM / wakeup: Use wakeup_source_register() in wakelock.c
        PM / wakeup: Drop wakeup_source_init(), wakeup_source_prepare()
        PM: sleep: Replace strncmp() with str_has_prefix()
        PM: suspend: Fix platform_suspend_prepare_noirq()
        intel-hid: Disable button array during suspend-to-idle
        intel-hid: intel-vbtn: Avoid leaking wakeup_mode set
        ACPI: PM: s2idle: Execute LPS0 _DSM functions with suspended devices
        ACPI: EC: PM: Make acpi_ec_dispatch_gpe() print debug message
        ACPI: EC: PM: Consolidate some code depending on PM_SLEEP
        ACPI: PM: s2idle: Eliminate acpi_sleep_no_ec_events()
        ACPI: PM: s2idle: Switch EC over to polling during "noirq" suspend
        ACPI: PM: s2idle: Add acpi.sleep_no_lps0 module parameter
        ACPI: PM: s2idle: Rearrange lps0_device_attach()
        PM/sleep: Expose suspend stats in sysfs
        ...
      d2817063
    • Rafael J. Wysocki's avatar
      Merge suspend-to-idle rework material for v5.4. · 1b531e55
      Rafael J. Wysocki authored
      * pm-s2idle-rework: (21 commits)
        ACPI: PM: s2idle: Always set up EC GPE for system wakeup
        ACPI: PM: s2idle: Avoid rearming SCI for wakeup unnecessarily
        PM: suspend: Fix platform_suspend_prepare_noirq()
        intel-hid: Disable button array during suspend-to-idle
        intel-hid: intel-vbtn: Avoid leaking wakeup_mode set
        ACPI: PM: s2idle: Execute LPS0 _DSM functions with suspended devices
        ACPI: EC: PM: Make acpi_ec_dispatch_gpe() print debug message
        ACPI: EC: PM: Consolidate some code depending on PM_SLEEP
        ACPI: PM: s2idle: Eliminate acpi_sleep_no_ec_events()
        ACPI: PM: s2idle: Switch EC over to polling during "noirq" suspend
        ACPI: PM: s2idle: Add acpi.sleep_no_lps0 module parameter
        ACPI: PM: s2idle: Rearrange lps0_device_attach()
        ACPI: PM: Set up EC GPE for system wakeup from drivers that need it
        PM: sleep: Drop dpm_noirq_begin() and dpm_noirq_end()
        PM: sleep: Integrate suspend-to-idle with generig suspend flow
        PM: sleep: Simplify suspend-to-idle control flow
        ACPI: PM: Set s2idle_wakeup earlier and clear it later
        PM: sleep: Fix possible overflow in pm_system_cancel_wakeup()
        ACPI: EC: Return bool from acpi_ec_dispatch_gpe()
        ACPICA: Return u32 from acpi_dispatch_gpe()
        ...
      1b531e55
  2. 11 Sep, 2019 5 commits
  3. 07 Sep, 2019 2 commits
  4. 06 Sep, 2019 1 commit
  5. 05 Sep, 2019 3 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm · 1c5c1b5d
      Rafael J. Wysocki authored
      Pull ARM cpufreq driver changes for 5.4 from Viresh Kumar:
      
      "This contains:
      
      - Minor fixes for mediatek driver (Andrew-sh.Cheng and Fabien Parent).
      - Minor updates for imx driver (Anson Huang).
      - Minor fix for ti-cpufreq driver (Gustavo A. R. Silva).
      - Minor fix for ap806 driver (Hariprasad Kelam).
      - Significant updates to qcom cpufreq drivers, mostly to support CPR
        stuff (Jorge Ramirez-Ortiz, Niklas Cassel, Sibi Sankar, Douglas
        RAILLARD and Sricharan R).
      - New sun50i cpufreq driver (Yangtao Li).
      
      It also contains a few OPP changes which were required because of
      dependencies for the qcom cpufreq changes."
      
      * 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm: (22 commits)
        cpufreq: Add qcs404 to cpufreq-dt-platdev blacklist
        cpufreq: qcom: Add support for qcs404 on nvmem driver
        cpufreq: qcom: Refactor the driver to make it easier to extend
        cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs
        dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR
        dt-bindings: opp: qcom-nvmem: Support pstates provided by a power domain
        cpufreq: mediatek: Add support for mt8183
        cpufreq: mediatek: change to regulator_get_optional
        cpufreq: imx-cpufreq-dt: Add i.MX8MN support
        cpufreq: Use imx-cpufreq-dt for i.MX8MN's speed grading
        cpufreq: qcom-hw: invoke frequency-invariance setter function
        cpufreq: qcom-hw: Update logic to detect turbo frequency
        cpufreq: mediatek-cpufreq: Add compatible for MT8516
        cpufreq: ti-cpufreq: Mark expected switch fall-through
        dt-bindings: opp: qcom-nvmem: Make speedbin related properties optional
        dt-bindings: opp: Re-organise kryo cpufreq to use it for other nvmem based qcom socs
        opp: Add dev_pm_opp_find_level_exact()
        opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()
        opp: Not all power-domains are scalable
        cpufreq: ap806: Add NULL check after kcalloc
        ...
      1c5c1b5d
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq-qos' · beb4e08e
      Rafael J. Wysocki authored
      * pm-cpufreq-qos:
        Documentation: cpufreq: Update policy notifier documentation
        cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier events
        ACPI: cpufreq: Switch to QoS requests instead of cpufreq notifier
        video: pxafb: Remove cpufreq policy notifier
        video: sa1100fb: Remove cpufreq policy notifier
        arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFY
        cpufreq: powerpc_cbe: Switch to QoS requests for freq limits
        cpufreq: powerpc: macintosh: Switch to QoS requests for freq limits
        thermal: cpu_cooling: Switch to QoS requests for freq limits
        cpufreq: Add policy create/remove notifiers back
      beb4e08e
    • Rafael J. Wysocki's avatar
      Merge branch 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm · e47bc756
      Rafael J. Wysocki authored
      Pull operating performance points (OPP) framework changes for 5.4
      from Viresh Kumar:
      
      "This contains:
      
      - OPP core fixes to better support genpd devices (Viresh Kumar).
      - OPP core changes to support multiple suspend-opps in DT (Anson Huang).
      - New OPP API (dev_pm_opp_find_level_exact()) and Qcom OPP binding
        changes for CPR (Niklas Cassel).
      - Qcom minor update (Sricharan R).
      - OPP Documentation fix (Yue Hu).
      - OPP core support to enable/disable regulators (k.konieczny)."
      
      * 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm:
        dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR
        dt-bindings: opp: qcom-nvmem: Support pstates provided by a power domain
        dt-bindings: opp: qcom-nvmem: Make speedbin related properties optional
        dt-bindings: opp: Re-organise kryo cpufreq to use it for other nvmem based qcom socs
        PM / OPP: Correct Documentation about library location
        opp: of: Support multiple suspend OPPs defined in DT
        dt-bindings: opp: Support multiple opp-suspend properties
        opp: core: add regulators enable and disable
        opp: Don't decrement uninitialized list_kref
        opp: Add dev_pm_opp_find_level_exact()
        opp: Return genpd virtual devices from dev_pm_opp_attach_genpd()
        opp: Not all power-domains are scalable
      e47bc756
  6. 04 Sep, 2019 1 commit
  7. 03 Sep, 2019 11 commits
  8. 02 Sep, 2019 8 commits
    • Viresh Kumar's avatar
      Documentation: cpufreq: Update policy notifier documentation · c27c38af
      Viresh Kumar authored
      Update documentation with the recent policy notifier updates.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      c27c38af
    • Viresh Kumar's avatar
      cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier events · df0eea44
      Viresh Kumar authored
      No driver makes reference to these events now, remove them and the code
      related to them.
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      df0eea44
    • Ulf Hansson's avatar
      PM / Domains: Verify PM domain type in dev_pm_genpd_set_performance_state() · 3ea4ca92
      Ulf Hansson authored
      The dev_pm_genpd_set_performance_state() could in principle be called for a
      device that has a different PM domain type attached than a genpd. This
      would lead to a problem as dev_to_genpd() uses the container_of macro.
      
      Address this problem by using dev_to_genpd_safe() instead.
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3ea4ca92
    • Ulf Hansson's avatar
      PM / Domains: Simplify genpd_lookup_dev() · b3ad17c0
      Ulf Hansson authored
      genpd_lookup_dev(), is a bit unnecessary heavy, as it walks the gpd_list to
      try to find a valid PM domain corresponding to the device's attached genpd.
      
      Instead of walking the gpd_list, let's use the fact that a genpd always has
      the ->runtime_suspend() callback assigned to the genpd_runtime_suspend()
      function.
      
      While changing this, let's take the opportunity to also rename
      genpd_lookup_dev(), into dev_to_genpd_safe() to better reflect its purpose.
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b3ad17c0
    • Linus Torvalds's avatar
      Linux 5.3-rc7 · 089cf7f6
      Linus Torvalds authored
      089cf7f6
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 49ffdb4c
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char and misc driver fixes for reported issues for
        5.3-rc7
      
        Also included in here is the documentation for how we are handling
        hardware issues under embargo that everyone has finally agreed on, as
        well as a MAINTAINERS update for the suckers who agreed to handle the
        LICENSES/ files.
      
        All of these have been in linux-next last week with no reported
        issues"
      
      * tag 'char-misc-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        fsi: scom: Don't abort operations for minor errors
        vmw_balloon: Fix offline page marking with compaction
        VMCI: Release resource if the work is already queued
        Documentation/process: Embargoed hardware security issues
        lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACK
        mei: me: add Tiger Lake point LP device ID
        intel_th: pci: Add Tiger Lake support
        intel_th: pci: Add support for another Lewisburg PCH
        stm class: Fix a double free of stm_source_device
        MAINTAINERS: add entry for LICENSES and SPDX stuff
        fpga: altera-ps-spi: Fix getting of optional confd gpio
      49ffdb4c
    • Linus Torvalds's avatar
      Merge tag 'usb-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 2c248f92
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes that have been in linux-next this past
        week for 5.3-rc7
      
        They fix the usual xhci, syzbot reports, and other small issues that
        have come up last week.
      
        All have been in linux-next with no reported issues"
      
      * tag 'usb-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: cdc-wdm: fix race between write and disconnect due to flag abuse
        usb: host: xhci: rcar: Fix typo in compatible string matching
        usb: host: xhci-tegra: Set DMA mask correctly
        USB: storage: ums-realtek: Whitelist auto-delink support
        USB: storage: ums-realtek: Update module parameter description for auto_delink_en
        usb: host: ohci: fix a race condition between shutdown and irq
        usb: hcd: use managed device resources
        typec: tcpm: fix a typo in the comparison of pdo_max_voltage
        usb-storage: Add new JMS567 revision to unusual_devs
        usb: chipidea: udc: don't do hardware access if gadget has stopped
        usbtmc: more sanity checking for packet size
        usb: udc: lpc32xx: silence fall-through warning
      2c248f92
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 345464fb
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix some length checks during OGM processing in batman-adv, from
          Sven Eckelmann.
      
       2) Fix regression that caused netfilter conntrack sysctls to not be
          per-netns any more. From Florian Westphal.
      
       3) Use after free in netpoll, from Feng Sun.
      
       4) Guard destruction of pfifo_fast per-cpu qdisc stats with
          qdisc_is_percpu_stats(), from Davide Caratti. Similar bug is fixed
          in pfifo_fast_enqueue().
      
       5) Fix memory leak in mld_del_delrec(), from Eric Dumazet.
      
       6) Handle neigh events on internal ports correctly in nfp, from John
          Hurley.
      
       7) Clear SKB timestamp in NF flow table code so that it does not
          confuse fq scheduler. From Florian Westphal.
      
       8) taprio destroy can crash if it is invoked in a failure path of
          taprio_init(), because the list head isn't setup properly yet and
          the list del is unconditional. Perform the list add earlier to
          address this. From Vladimir Oltean.
      
       9) Make sure to reapply vlan filters on device up, in aquantia driver.
          From Dmitry Bogdanov.
      
      10) sgiseeq driver releases DMA memory using free_page() instead of
          dma_free_attrs(). From Christophe JAILLET.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (58 commits)
        net: seeq: Fix the function used to release some memory in an error handling path
        enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions
        net: bcmgenet: use ethtool_op_get_ts_info()
        tc-testing: don't hardcode 'ip' in nsPlugin.py
        net: dsa: microchip: add KSZ8563 compatibility string
        dt-bindings: net: dsa: document additional Microchip KSZ8563 switch
        net: aquantia: fix out of memory condition on rx side
        net: aquantia: linkstate irq should be oneshot
        net: aquantia: reapply vlan filters on up
        net: aquantia: fix limit of vlan filters
        net: aquantia: fix removal of vlan 0
        net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
        taprio: Set default link speed to 10 Mbps in taprio_set_picos_per_byte
        taprio: Fix kernel panic in taprio_destroy
        net: dsa: microchip: fill regmap_config name
        rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up [ver #2]
        net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
        amd-xgbe: Fix error path in xgbe_mod_init()
        netfilter: nft_meta_bridge: Fix get NFT_META_BRI_IIFVPROTO in network byteorder
        mac80211: Correctly set noencrypt for PAE frames
        ...
      345464fb
  9. 01 Sep, 2019 3 commits
    • Christophe JAILLET's avatar
      net: seeq: Fix the function used to release some memory in an error handling path · e1e54ec7
      Christophe JAILLET authored
      In commit 99cd149e ("sgiseeq: replace use of dma_cache_wback_inv"),
      a call to 'get_zeroed_page()' has been turned into a call to
      'dma_alloc_coherent()'. Only the remove function has been updated to turn
      the corresponding 'free_page()' into 'dma_free_attrs()'.
      The error hndling path of the probe function has not been updated.
      
      Fix it now.
      
      Rename the corresponding label to something more in line.
      
      Fixes: 99cd149e ("sgiseeq: replace use of dma_cache_wback_inv")
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Reviewed-by: default avatarThomas Bogendoerfer <tbogendoerfer@suse.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e1e54ec7
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9f159ae0
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A set of fixes for x86:
      
         - Fix the bogus detection of 32bit user mode for uretprobes which
           caused corruption of the user return address resulting in
           application crashes. In the uprobes handler in_ia32_syscall() is
           obviously always returning false on a 64bit kernel. Use
           user_64bit_mode() instead which works correctly.
      
         - Prevent large page splitting when ftrace flips RW/RO on the kernel
           text which caused iTLB performance issues. Ftrace wants to be
           converted to text_poke() which avoids the problem, but for now
           allow large page preservation in the static protections check when
           the change request spawns a full large page.
      
         - Prevent arch_dynirq_lower_bound() from returning 0 when the IOAPIC
           is configured via device tree. In the device tree case the GSI 1:1
           mapping is meaningless therefore the lower bound which protects the
           GSI range on ACPI machines is irrelevant. Return the lower bound
           which the core hands to the function instead of blindly returning 0
           which causes the core to allocate the invalid virtual interupt
           number 0 which in turn prevents all drivers from allocating and
           requesting an interrupt.
      
         - Remove the bogus initialization of LDR and DFR in the 32bit bigsmp
           APIC driver. That uses physical destination mode where LDR/DFR are
           ignored, but the initialization and the missing clear of LDR caused
           the APIC to be left in a inconsistent state on kexec/reboot.
      
         - Clear LDR when clearing the APIC registers so the APIC is in a well
           defined state.
      
         - Initialize variables proper in the find_trampoline_placement()
           code.
      
         - Silence GCC( build warning for the real mode part of the build"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mm/cpa: Prevent large page split when ftrace flips RW on kernel text
        x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
        x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
        x86/apic: Include the LDR when clearing out APIC registers
        x86/apic: Do not initialize LDR and DFR for bigsmp
        uprobes/x86: Fix detection of 32-bit user mode
        x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
      9f159ae0
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 5fb181cb
      Linus Torvalds authored
      Pull perf fixes from Thomas Gleixner:
       "Two fixes for perf x86 hardware implementations:
      
         - Restrict the period on Nehalem machines to prevent perf from
           hogging the CPU
      
         - Prevent the AMD IBS driver from overwriting the hardwre controlled
           and pre-seeded reserved bits (0-6) in the count register which
           caused a sample bias for dispatched micro-ops"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
        perf/x86/intel: Restrict period on Nehalem
      5fb181cb