Linux 4.14.64
Greg KH
maintainerI'm announcing the release of the 4.14.64 kernel.
All users of the 4.14 kernel series must upgrade.
The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/process/changes.rst | 19 Makefile | 2 arch/arm64/mm/mmu.c | 4 arch/x86/crypto/sha256-mb/sha256_mb_mgr_flush_avx2.S | 2 arch/x86/include/asm/i8259.h | 1 arch/x86/kernel/cpu/bugs.c | 3 arch/x86/mm/pgtable.c | 61 ++ block/bfq-iosched.c | 50 +- crypto/ablkcipher.c | 57 +- crypto/blkcipher.c | 54 +- crypto/skcipher.c | 51 +- crypto/vmac.c | 412 ++++++++----------- drivers/acpi/apei/ghes.c | 39 - drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 2 drivers/firmware/qemu_fw_cfg.c | 3 include/asm-generic/pgtable.h | 8 include/crypto/vmac.h | 63 -- include/trace/events/sched.h | 6 lib/ioremap.c | 4 net/bluetooth/hidp/core.c | 4 scripts/depmod.sh | 8 sound/soc/codecs/msm8916-wcd-digital.c | 4 sound/soc/intel/boards/cht_bsw_max98090_ti.c | 45 +- sound/soc/sh/rcar/adg.c | 4 24 files changed, 418 insertions(+), 488 deletions(-)
Alexander Syring (1):
clk: sunxi-ng: Fix missing CLK_SET_RATE_PARENT in ccu-sun4i-a10.c
Chintan Pandya (1):
ioremap: Update pgtable free interfaces with addr
Eric Biggers (7):
crypto: x86/sha256-mb - fix digest copy in sha256_mb_mgr_get_comp_job_avx2()
crypto: vmac - require a block cipher with 128-bit block size
crypto: vmac - separate tfm and request context
crypto: blkcipher - fix crash flushing dcache in error path
crypto: ablkcipher - fix crash flushing dcache in error path
crypto: skcipher - fix aligning block size in skcipher_copy_iv()
crypto: skcipher - fix crash flushing dcache in error path
Greg Kroah-Hartman (1):
Linux 4.14.64
Guenter Roeck (2):
x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled
x86: i8259: Add missing include file
James Morse (1):
ACPI / APEI: Remove ghes_ioremap_area
Jean-François Têtu (1):
ASoC: msm8916-wcd-digital: fix RX2 MIX1 and RX3 MIX1
Kuninori Morimoto (1):
ASoC: rsnd: fix ADG flags
Marc-André Lureau (1):
fw_cfg: fix driver remove
Mark Salyzyn (1):
Bluetooth: hidp: buffer overflow in hidp_process_report
Paolo Valente (1):
block, bfq: fix wrong init of saved start time for weight raising
Randy Dunlap (1):
kbuild: verify that $DEPMOD is installed
Thierry Escande (1):
ASoC: Intel: cht_bsw_max98090_ti: Fix jack initialization
Thomas Gleixner (1):
sched/debug: Fix task state recording/printout
Toshi Kani (2):
x86/mm: Disable ioremap free page handling on x86-PAE x86/mm: Add TLB purge to free pmd/pte page interfaces
Greg KH
maintainerDocumentation/process/changes.rst +7 -12
@@ -33,7 +33,7 @@ GNU C 3.2 gcc --version GNU make 3.81 make --version binutils 2.20 ld -v util-linux 2.10o fdformat --version -module-init-tools 0.9.10 depmod -V +kmod 13 depmod -V e2fsprogs 1.41.4 e2fsck -V jfsutils 1.1.3 fsck.jfs -V reiserfsprogs 3.6.3 reiserfsck -V
@@ -141,12 +141,6 @@ is not build with ``CONFIG_KALLSYMS`` and you have no way to rebuild and reproduce the Oops with that option, then you can still decode that Oops with ksymoops. -Module-Init-Tools ------------------ - -A new module loader is now in the kernel that requires ``module-init-tools`` -to use. It is backward compatible with the 2.4.x series kernels. - Mkinitrd --------
@@ -346,16 +340,17 @@ Util-linux - <https://www.kernel.org/pub/linux/utils/util-linux/> +Kmod +---- + +- <https://www.kernel.org/pub/linux/utils/kernel/kmod/> +- <https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git> + Ksymoops -------- - <https://www.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/> -Module-Init-Tools ------------------ - -- <https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/> - Mkinitrd --------
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 63 +SUBLEVEL = 64 EXTRAVERSION = NAME = Petit Gorille
arch/arm64/mm/mmu.c +2 -2
@@ -938,12 +938,12 @@ int pmd_clear_huge(pmd_t *pmd)return 1 ; } -int pud_free_pmd_page (pud_t *pud) +int pud_free_pmd_page (pud_t *pud,unsigned long addr) {return pud_none (*pud); } -int pmd_free_pte_page (pmd_t *pmd) +int pmd_free_pte_page (pmd_t *pmd,unsigned long addr) {return pmd_none (*pmd); }
arch/x86/crypto/sha256-mb/sha256_mb_mgr_flush_avx2.S +1 -1
@@ -265,7 +265,7 @@ ENTRY(sha256_mb_mgr_get_comp_job_avx2) vpinsrd $1, _args_digest+1*32(state, idx, 4), %xmm0, %xmm0 vpinsrd $2, _args_digest+2*32(state, idx, 4), %xmm0, %xmm0 vpinsrd $3, _args_digest+3*32(state, idx, 4), %xmm0, %xmm0 - vmovd _args_digest(state , idx, 4) , %xmm0 + vmovd _args_digest+4*32(state, idx, 4), %xmm1 vpinsrd $1, _args_digest+5*32(state, idx, 4), %xmm1, %xmm1 vpinsrd $2, _args_digest+6*32(state, idx, 4), %xmm1, %xmm1 vpinsrd $3, _args_digest+7*32(state, idx, 4), %xmm1, %xmm1
arch/x86/include/asm/i8259.h +1 -0
@@ -3,6 +3,7 @@#define _ASM_X86_I8259_H#include <linux/delay.h> +#include <asm/io.h> extern unsigned int cached_irq_mask;
arch/x86/kernel/cpu/bugs.c +1 -2
@@ -648,10 +648,9 @@ void x86_spec_ctrl_setup_ap(void)enum l1tf_mitigations l1tf_mitigation__ro_after_init =L1TF_MITIGATION_FLUSH ;#if IS_ENABLED (CONFIG_KVM_INTEL )EXPORT_SYMBOL_GPL (l1tf_mitigation); - +#endif enum vmx_l1d_flush_state l1tf_vmx_mitigation =VMENTER_L1D_FLUSH_AUTO ;EXPORT_SYMBOL_GPL (l1tf_vmx_mitigation); -#endif static void __init l1tf_select_mitigation (void ) {
arch/x86/mm/pgtable.c +53 -8
100 lines not on this page · raw message
block/bfq-iosched.c +31 -19
68 lines not on this page · raw message
crypto/ablkcipher.c +26 -31
93 lines not on this page · raw message
crypto/blkcipher.c +26 -28
94 lines not on this page · raw message
crypto/skcipher.c +26 -25
91 lines not on this page · raw message
crypto/vmac.c +185 -227
524 lines not on this page · raw message
drivers/acpi/apei/ghes.c +2 -37
@@ -114,19 +114,7 @@ static DEFINE_MUTEX(ghes_list_mutex);* from BIOS to Linux can be determined only in NMI, IRQ or timer * handler, but general ioremap can not be used in atomic context, so * the fixmap is used instead. -*/ - -/* -* Two virtual pages are used, one for IRQ/PROCESS context, the other for -* NMI context (optionally). -*/ -#define GHES_IOREMAP_PAGES 2 -#define GHES_IOREMAP_IRQ_PAGE (base) (base) -#define GHES_IOREMAP_NMI_PAGE (base) ((base) + PAGE_SIZE) - -/* virtual memory area for atomic ioremap */ -static struct vm_struct *ghes_ioremap_area; -/* +* * These 2 spinlocks are used to prevent the fixmap entries from being used * simultaneously. */
@@ -141,23 +129,6 @@ static atomic_t ghes_estatus_cache_alloced;static int ghes_panic_timeout__read_mostly =30 ; -static int ghes_ioremap_init (void ) -{ - ghes_ioremap_area =__get_vm_area (PAGE_SIZE *GHES_IOREMAP_PAGES , -VM_IOREMAP ,VMALLOC_START ,VMALLOC_END ); -if (!ghes_ioremap_area) { -pr_err (GHES_PFX "Failed to allocate virtual memory area for atomic ioremap.\n" ); -return -ENOMEM ; - } - -return 0 ; -} - -static void ghes_ioremap_exit (void ) -{ -free_vm_area (ghes_ioremap_area); -} -static void __iomem *ghes_ioremap_pfn_nmi (u64 pfn) {phys_addr_t paddr;
@@ -1247,13 +1218,9 @@ static int __init ghes_init(void)ghes_nmi_init_cxt (); - rc =ghes_ioremap_init (); -if (rc) - goto err; - rc =ghes_estatus_pool_init ();if (rc) - goto err_ioremap_exit; + goto err; rc =ghes_estatus_pool_expand (GHES_ESTATUS_CACHE_AVG_SIZE *GHES_ESTATUS_CACHE_ALLOCED_MAX );
@@ -1277,8 +1244,6 @@ static int __init ghes_init(void)return 0 ; err_pool_exit:ghes_estatus_pool_exit (); -err_ioremap_exit: -ghes_ioremap_exit (); err:return rc; }
drivers/clk/sunxi-ng/ccu-sun4i-a10.c +1 -1
@@ -223,7 +223,7 @@ static struct ccu_mux cpu_clk = { .hw.init = CLK_HW_INIT_PARENTS("cpu", cpu_parents, &ccu_mux_ops, - CLK_IS_CRITICAL), + CLK_SET_RATE_PARENT | CLK_IS_CRITICAL), } };
drivers/firmware/qemu_fw_cfg.c +2 -1
@@ -582,9 +582,10 @@ static int fw_cfg_sysfs_remove(struct platform_device *pdev) {pr_debug ("fw_cfg: unloading.\n" );fw_cfg_sysfs_cache_cleanup (); +sysfs_remove_file (fw_cfg_top_ko, &fw_cfg_rev_attr.attr); +fw_cfg_io_cleanup ();fw_cfg_kset_unregister_recursive (fw_cfg_fname_kset);fw_cfg_kobj_cleanup (fw_cfg_sel_ko); -fw_cfg_io_cleanup ();return 0 ; }
include/asm-generic/pgtable.h +4 -4
@@ -991,8 +991,8 @@ int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);int pmd_set_huge (pmd_t *pmd,phys_addr_t addr,pgprot_t prot);int pud_clear_huge (pud_t *pud);int pmd_clear_huge (pmd_t *pmd); -int pud_free_pmd_page (pud_t *pud); -int pmd_free_pte_page (pmd_t *pmd); +int pud_free_pmd_page (pud_t *pud,unsigned long addr); +int pmd_free_pte_page (pmd_t *pmd,unsigned long addr);#else /* !CONFIG_HAVE_ARCH_HUGE_VMAP */ static inline int p4d_set_huge (p4d_t *p4d,phys_addr_t addr,pgprot_t prot) {
@@ -1018,11 +1018,11 @@ static inline int pmd_clear_huge(pmd_t *pmd) {return 0 ; } -static inline int pud_free_pmd_page (pud_t *pud) +static inline int pud_free_pmd_page (pud_t *pud,unsigned long addr) {return 0 ; } -static inline int pmd_free_pte_page (pmd_t *pmd) +static inline int pmd_free_pte_page (pmd_t *pmd,unsigned long addr) {return 0 ; }
include/crypto/vmac.h deleted +0 -63
63 lines not on this page · raw message
include/trace/events/sched.h +3 -3
@@ -116,9 +116,9 @@ static inline long __trace_sched_switch_state(bool preempt, struct task_struct ** RUNNING (we will not have dequeued if state != RUNNING). */ if (preempt) -return TASK_STATE_MAX ; +return TASK_REPORT_MAX ; - return __get_task_state(p); + return 1 << __get_task_state(p); }#endif /* CREATE_TRACE_POINTS */
@@ -164,7 +164,7 @@ TRACE_EVENT(sched_switch, { 0x40, "P" }, { 0x80, "I" }) :"R" , - __entry->prev_state &TASK_STATE_MAX ?"+" :"" , + __entry->prev_state &TASK_REPORT_MAX ?"+" :"" , __entry->next_comm, __entry->next_pid, __entry->next_prio) );
lib/ioremap.c +2 -2
@@ -92,7 +92,7 @@ static inline int ioremap_pmd_range(pud_t *pud, unsigned long addr,if (ioremap_pmd_enabled () && ((next - addr) ==PMD_SIZE ) &&IS_ALIGNED (phys_addr + addr,PMD_SIZE ) && -pmd_free_pte_page (pmd)) { +pmd_free_pte_page (pmd, addr)) {if (pmd_set_huge (pmd, phys_addr + addr, prot))continue ; }
@@ -119,7 +119,7 @@ static inline int ioremap_pud_range(p4d_t *p4d, unsigned long addr,if (ioremap_pud_enabled () && ((next - addr) ==PUD_SIZE ) &&IS_ALIGNED (phys_addr + addr,PUD_SIZE ) && -pud_free_pmd_page (pud)) { +pud_free_pmd_page (pud, addr)) {if (pud_set_huge (pud, phys_addr + addr, prot))continue ; }
net/bluetooth/hidp/core.c +2 -2
@@ -431,8 +431,8 @@ static void hidp_del_timer(struct hidp_session *session)del_timer (&session->timer); } -static void hidp_process_report (struct hidp_session *session, -int type,const u8 *data,int len,int intr) +static void hidp_process_report (struct hidp_session *session,int type, +const u8 *data,unsigned int len,int intr) {if (len >HID_MAX_BUFFER_SIZE ) len =HID_MAX_BUFFER_SIZE ;
scripts/depmod.sh +7 -1
@@ -11,10 +11,16 @@ DEPMOD=$1 KERNELRELEASE=$2 SYMBOL_PREFIX=$3 -if ! test -r System.map -a -x "$DEPMOD"; then +if ! test -r System.map ; then exit 0 fi +if [ -z $(command -v $DEPMOD) ]; then + echo "'make modules_install' requires $DEPMOD. Please install it." >&2 + echo "This is probably in the kmod package." >&2 + exit 1 +fi + # older versions of depmod don't support -P <symbol-prefix> # support was added in module-init-tools 3.13 if test -n "$SYMBOL_PREFIX"; then
sound/soc/codecs/msm8916-wcd-digital.c +2 -2
@@ -238,7 +238,7 @@ static const struct soc_enum rx_mix2_inp1_chain_enum = SOC_ENUM_SINGLE(static const struct soc_enum rx2_mix1_inp_enum[] = {SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX2_B1_CTL ,0 ,6 , rx_mix1_text),SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX2_B1_CTL ,3 ,6 , rx_mix1_text), -SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX2_B1_CTL ,0 ,6 , rx_mix1_text), +SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX2_B2_CTL ,0 ,6 , rx_mix1_text), };/* RX2 MIX2 */
@@ -249,7 +249,7 @@ static const struct soc_enum rx2_mix2_inp1_chain_enum = SOC_ENUM_SINGLE(static const struct soc_enum rx3_mix1_inp_enum[] = {SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX3_B1_CTL ,0 ,6 , rx_mix1_text),SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX3_B1_CTL ,3 ,6 , rx_mix1_text), -SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX3_B1_CTL ,0 ,6 , rx_mix1_text), +SOC_ENUM_SINGLE (LPASS_CDC_CONN_RX3_B2_CTL ,0 ,6 , rx_mix1_text), };/* DEC */
sound/soc/intel/boards/cht_bsw_max98090_ti.c +31 -14
60 lines not on this page · raw message
sound/soc/sh/rcar/adg.c +2 -2
@@ -479,10 +479,10 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv, }if (req_rate[0 ] %48000 ==0 ) - adg->flags =AUDIO_OUT_48 ; + adg->flags |=AUDIO_OUT_48 ;if (of_get_property (np,"clkout-lr-asynchronous" ,NULL )) - adg->flags =LRCLK_ASYNC ; + adg->flags |=LRCLK_ASYNC ;/* * This driver is assuming that AUDIO_CLKA/AUDIO_CLKB/AUDIO_CLKC