mirror of https://github.com/hak5/openwrt.git
generic: upgrade to 3.18.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44442lede-17.01
parent
285348e086
commit
4893c0c7f7
|
@ -6,14 +6,14 @@ LINUX_VERSION-3.8 = .13
|
||||||
LINUX_VERSION-3.10 = .58
|
LINUX_VERSION-3.10 = .58
|
||||||
LINUX_VERSION-3.13 = .7
|
LINUX_VERSION-3.13 = .7
|
||||||
LINUX_VERSION-3.14 = .32
|
LINUX_VERSION-3.14 = .32
|
||||||
LINUX_VERSION-3.18 = .6
|
LINUX_VERSION-3.18 = .7
|
||||||
LINUX_VERSION-3.19 =
|
LINUX_VERSION-3.19 =
|
||||||
|
|
||||||
LINUX_KERNEL_MD5SUM-3.8.13 = 2af19d06cd47ec459519159cdd10542d
|
LINUX_KERNEL_MD5SUM-3.8.13 = 2af19d06cd47ec459519159cdd10542d
|
||||||
LINUX_KERNEL_MD5SUM-3.10.58 = 3ff3478b6351143cef22d4b81cf48b01
|
LINUX_KERNEL_MD5SUM-3.10.58 = 3ff3478b6351143cef22d4b81cf48b01
|
||||||
LINUX_KERNEL_MD5SUM-3.13.7 = 370adced5e5c1cb1d0d621c2dae2723f
|
LINUX_KERNEL_MD5SUM-3.13.7 = 370adced5e5c1cb1d0d621c2dae2723f
|
||||||
LINUX_KERNEL_MD5SUM-3.14.32 = 3178fb8f6f1eafcffdd730fec68754f8
|
LINUX_KERNEL_MD5SUM-3.14.32 = 3178fb8f6f1eafcffdd730fec68754f8
|
||||||
LINUX_KERNEL_MD5SUM-3.18.6 = 997c8492ebfdc9bb9e6ed8d4945539dd
|
LINUX_KERNEL_MD5SUM-3.18.6 = b4ff3e1d591f7464e678c43d421c85fc
|
||||||
LINUX_KERNEL_MD5SUM-3.19 = d3fc8316d4d4d04b65cbc2d70799e763
|
LINUX_KERNEL_MD5SUM-3.19 = d3fc8316d4d4d04b65cbc2d70799e763
|
||||||
|
|
||||||
ifdef KERNEL_PATCHVER
|
ifdef KERNEL_PATCHVER
|
||||||
|
|
|
@ -11,11 +11,9 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||||
drivers/net/ethernet/broadcom/bgmac.c | 6 +++---
|
drivers/net/ethernet/broadcom/bgmac.c | 6 +++---
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c
|
|
||||||
index 05c6af6..aa9f950 100644
|
|
||||||
--- a/drivers/net/ethernet/broadcom/bgmac.c
|
--- a/drivers/net/ethernet/broadcom/bgmac.c
|
||||||
+++ b/drivers/net/ethernet/broadcom/bgmac.c
|
+++ b/drivers/net/ethernet/broadcom/bgmac.c
|
||||||
@@ -1515,6 +1515,8 @@ static int bgmac_probe(struct bcma_device *core)
|
@@ -1515,6 +1515,8 @@ static int bgmac_probe(struct bcma_devic
|
||||||
if (core->bus->sprom.boardflags_lo & BGMAC_BFL_ENETADM)
|
if (core->bus->sprom.boardflags_lo & BGMAC_BFL_ENETADM)
|
||||||
bgmac_warn(bgmac, "Support for ADMtek ethernet switch not implemented\n");
|
bgmac_warn(bgmac, "Support for ADMtek ethernet switch not implemented\n");
|
||||||
|
|
||||||
|
@ -24,7 +22,7 @@ index 05c6af6..aa9f950 100644
|
||||||
err = bgmac_mii_register(bgmac);
|
err = bgmac_mii_register(bgmac);
|
||||||
if (err) {
|
if (err) {
|
||||||
bgmac_err(bgmac, "Cannot register MDIO\n");
|
bgmac_err(bgmac, "Cannot register MDIO\n");
|
||||||
@@ -1529,8 +1531,6 @@ static int bgmac_probe(struct bcma_device *core)
|
@@ -1529,8 +1531,6 @@ static int bgmac_probe(struct bcma_devic
|
||||||
|
|
||||||
netif_carrier_off(net_dev);
|
netif_carrier_off(net_dev);
|
||||||
|
|
||||||
|
@ -33,7 +31,7 @@ index 05c6af6..aa9f950 100644
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err_mii_unregister:
|
err_mii_unregister:
|
||||||
@@ -1549,9 +1549,9 @@ static void bgmac_remove(struct bcma_device *core)
|
@@ -1549,9 +1549,9 @@ static void bgmac_remove(struct bcma_dev
|
||||||
{
|
{
|
||||||
struct bgmac *bgmac = bcma_get_drvdata(core);
|
struct bgmac *bgmac = bcma_get_drvdata(core);
|
||||||
|
|
||||||
|
@ -44,6 +42,3 @@ index 05c6af6..aa9f950 100644
|
||||||
bgmac_dma_free(bgmac);
|
bgmac_dma_free(bgmac);
|
||||||
bcma_set_drvdata(core, NULL);
|
bcma_set_drvdata(core, NULL);
|
||||||
free_netdev(bgmac->net_dev);
|
free_netdev(bgmac->net_dev);
|
||||||
--
|
|
||||||
1.8.4.5
|
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,9 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||||
drivers/net/ethernet/broadcom/bgmac.c | 6 +++---
|
drivers/net/ethernet/broadcom/bgmac.c | 6 +++---
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c
|
|
||||||
index aa9f950..3007d95 100644
|
|
||||||
--- a/drivers/net/ethernet/broadcom/bgmac.c
|
--- a/drivers/net/ethernet/broadcom/bgmac.c
|
||||||
+++ b/drivers/net/ethernet/broadcom/bgmac.c
|
+++ b/drivers/net/ethernet/broadcom/bgmac.c
|
||||||
@@ -1167,10 +1167,10 @@ static int bgmac_poll(struct napi_struct *napi, int weight)
|
@@ -1167,10 +1167,10 @@ static int bgmac_poll(struct napi_struct
|
||||||
bgmac->int_status = 0;
|
bgmac->int_status = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,6 +28,3 @@ index aa9f950..3007d95 100644
|
||||||
|
|
||||||
return handled;
|
return handled;
|
||||||
}
|
}
|
||||||
--
|
|
||||||
1.8.4.5
|
|
||||||
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
--- a/arch/mips/kernel/irq_cpu.c
|
|
||||||
+++ b/arch/mips/kernel/irq_cpu.c
|
|
||||||
@@ -56,6 +56,8 @@ static struct irq_chip mips_cpu_irq_cont
|
|
||||||
.irq_mask_ack = mask_mips_irq,
|
|
||||||
.irq_unmask = unmask_mips_irq,
|
|
||||||
.irq_eoi = unmask_mips_irq,
|
|
||||||
+ .irq_disable = mask_mips_irq,
|
|
||||||
+ .irq_enable = unmask_mips_irq,
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
@@ -92,6 +94,8 @@ static struct irq_chip mips_mt_cpu_irq_c
|
|
||||||
.irq_mask_ack = mips_mt_cpu_irq_ack,
|
|
||||||
.irq_unmask = unmask_mips_irq,
|
|
||||||
.irq_eoi = unmask_mips_irq,
|
|
||||||
+ .irq_disable = mask_mips_irq,
|
|
||||||
+ .irq_enable = unmask_mips_irq,
|
|
||||||
};
|
|
||||||
|
|
||||||
void __init mips_cpu_irq_init(void)
|
|
|
@ -12,8 +12,6 @@ Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
||||||
3 files changed, 167 insertions(+), 27 deletions(-)
|
3 files changed, 167 insertions(+), 27 deletions(-)
|
||||||
create mode 100644 arch/mips/kernel/machine_kexec.h
|
create mode 100644 arch/mips/kernel/machine_kexec.h
|
||||||
|
|
||||||
diff --git a/arch/mips/kernel/machine_kexec.c b/arch/mips/kernel/machine_kexec.c
|
|
||||||
index 50980bf3..b9c0f75 100644
|
|
||||||
--- a/arch/mips/kernel/machine_kexec.c
|
--- a/arch/mips/kernel/machine_kexec.c
|
||||||
+++ b/arch/mips/kernel/machine_kexec.c
|
+++ b/arch/mips/kernel/machine_kexec.c
|
||||||
@@ -10,45 +10,145 @@
|
@@ -10,45 +10,145 @@
|
||||||
|
@ -195,7 +193,9 @@ index 50980bf3..b9c0f75 100644
|
||||||
kexec_indirection_page = (unsigned long)&image->head;
|
kexec_indirection_page = (unsigned long)&image->head;
|
||||||
}
|
}
|
||||||
+ pr_info("kexec_indirection_page = %p\n", (void *)kexec_indirection_page);
|
+ pr_info("kexec_indirection_page = %p\n", (void *)kexec_indirection_page);
|
||||||
+
|
|
||||||
|
- memcpy((void*)reboot_code_buffer, relocate_new_kernel,
|
||||||
|
- relocate_new_kernel_size);
|
||||||
+ pr_info("Where is memcpy: %p\n", memcpy);
|
+ pr_info("Where is memcpy: %p\n", memcpy);
|
||||||
+ pr_info("kexec_relocate_new_kernel = %p, kexec_relocate_new_kernel_end = %p\n",
|
+ pr_info("kexec_relocate_new_kernel = %p, kexec_relocate_new_kernel_end = %p\n",
|
||||||
+ (void *)kexec_relocate_new_kernel, &kexec_relocate_new_kernel_end);
|
+ (void *)kexec_relocate_new_kernel, &kexec_relocate_new_kernel_end);
|
||||||
|
@ -203,9 +203,7 @@ index 50980bf3..b9c0f75 100644
|
||||||
+ (void *)kexec_relocate_new_kernel, (void *)reboot_code_buffer);
|
+ (void *)kexec_relocate_new_kernel, (void *)reboot_code_buffer);
|
||||||
+ memcpy((void*)reboot_code_buffer, kexec_relocate_new_kernel,
|
+ memcpy((void*)reboot_code_buffer, kexec_relocate_new_kernel,
|
||||||
+ KEXEC_RELOCATE_NEW_KERNEL_SIZE);
|
+ KEXEC_RELOCATE_NEW_KERNEL_SIZE);
|
||||||
|
+
|
||||||
- memcpy((void*)reboot_code_buffer, relocate_new_kernel,
|
|
||||||
- relocate_new_kernel_size);
|
|
||||||
+ pr_info("Before _print_args().\n");
|
+ pr_info("Before _print_args().\n");
|
||||||
+ machine_kexec_print_args();
|
+ machine_kexec_print_args();
|
||||||
+ pr_info("Before eval loop.\n");
|
+ pr_info("Before eval loop.\n");
|
||||||
|
@ -232,9 +230,6 @@ index 50980bf3..b9c0f75 100644
|
||||||
smp_wmb();
|
smp_wmb();
|
||||||
atomic_set(&kexec_ready_to_reboot, 1);
|
atomic_set(&kexec_ready_to_reboot, 1);
|
||||||
#endif
|
#endif
|
||||||
diff --git a/arch/mips/kernel/machine_kexec.h b/arch/mips/kernel/machine_kexec.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..ae0961e
|
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/arch/mips/kernel/machine_kexec.h
|
+++ b/arch/mips/kernel/machine_kexec.h
|
||||||
@@ -0,0 +1,20 @@
|
@@ -0,0 +1,20 @@
|
||||||
|
@ -258,8 +253,6 @@ index 0000000..ae0961e
|
||||||
+#define KEXEC_MAX_ARGC (KEXEC_ARGV_SIZE / sizeof(long))
|
+#define KEXEC_MAX_ARGC (KEXEC_ARGV_SIZE / sizeof(long))
|
||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
diff --git a/arch/mips/kernel/relocate_kernel.S b/arch/mips/kernel/relocate_kernel.S
|
|
||||||
index 74bab9d..2c92c50 100644
|
|
||||||
--- a/arch/mips/kernel/relocate_kernel.S
|
--- a/arch/mips/kernel/relocate_kernel.S
|
||||||
+++ b/arch/mips/kernel/relocate_kernel.S
|
+++ b/arch/mips/kernel/relocate_kernel.S
|
||||||
@@ -12,8 +12,9 @@
|
@@ -12,8 +12,9 @@
|
||||||
|
@ -291,18 +284,15 @@ index 74bab9d..2c92c50 100644
|
||||||
+ EXPORT(kexec_argv_buf)
|
+ EXPORT(kexec_argv_buf)
|
||||||
+ .skip KEXEC_COMMAND_LINE_SIZE
|
+ .skip KEXEC_COMMAND_LINE_SIZE
|
||||||
+ .size kexec_argv_buf, KEXEC_COMMAND_LINE_SIZE
|
+ .size kexec_argv_buf, KEXEC_COMMAND_LINE_SIZE
|
||||||
|
+
|
||||||
|
+kexec_argv:
|
||||||
|
+ EXPORT(kexec_argv)
|
||||||
|
+ .skip KEXEC_ARGV_SIZE
|
||||||
|
+ .size kexec_argv, KEXEC_ARGV_SIZE
|
||||||
|
|
||||||
-relocate_new_kernel_size:
|
-relocate_new_kernel_size:
|
||||||
- EXPORT(relocate_new_kernel_size)
|
- EXPORT(relocate_new_kernel_size)
|
||||||
- PTR relocate_new_kernel_end - relocate_new_kernel
|
- PTR relocate_new_kernel_end - relocate_new_kernel
|
||||||
- .size relocate_new_kernel_size, PTRSIZE
|
- .size relocate_new_kernel_size, PTRSIZE
|
||||||
+kexec_argv:
|
|
||||||
+ EXPORT(kexec_argv)
|
|
||||||
+ .skip KEXEC_ARGV_SIZE
|
|
||||||
+ .size kexec_argv, KEXEC_ARGV_SIZE
|
|
||||||
+
|
|
||||||
+kexec_relocate_new_kernel_end:
|
+kexec_relocate_new_kernel_end:
|
||||||
+ EXPORT(kexec_relocate_new_kernel_end)
|
+ EXPORT(kexec_relocate_new_kernel_end)
|
||||||
--
|
|
||||||
1.7.10.4
|
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,9 @@ Can we have it for 3.20, please?
|
||||||
drivers/net/ethernet/broadcom/bgmac.c | 5 +++--
|
drivers/net/ethernet/broadcom/bgmac.c | 5 +++--
|
||||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c
|
|
||||||
index 3007d95..728373b 100644
|
|
||||||
--- a/drivers/net/ethernet/broadcom/bgmac.c
|
--- a/drivers/net/ethernet/broadcom/bgmac.c
|
||||||
+++ b/drivers/net/ethernet/broadcom/bgmac.c
|
+++ b/drivers/net/ethernet/broadcom/bgmac.c
|
||||||
@@ -1412,6 +1412,7 @@ static void bgmac_mii_unregister(struct bgmac *bgmac)
|
@@ -1412,6 +1412,7 @@ static void bgmac_mii_unregister(struct
|
||||||
/* http://bcm-v4.sipsolutions.net/mac-gbit/gmac/chipattach */
|
/* http://bcm-v4.sipsolutions.net/mac-gbit/gmac/chipattach */
|
||||||
static int bgmac_probe(struct bcma_device *core)
|
static int bgmac_probe(struct bcma_device *core)
|
||||||
{
|
{
|
||||||
|
@ -30,7 +28,7 @@ index 3007d95..728373b 100644
|
||||||
struct net_device *net_dev;
|
struct net_device *net_dev;
|
||||||
struct bgmac *bgmac;
|
struct bgmac *bgmac;
|
||||||
struct ssb_sprom *sprom = &core->bus->sprom;
|
struct ssb_sprom *sprom = &core->bus->sprom;
|
||||||
@@ -1474,8 +1475,8 @@ static int bgmac_probe(struct bcma_device *core)
|
@@ -1474,8 +1475,8 @@ static int bgmac_probe(struct bcma_devic
|
||||||
bgmac_chip_reset(bgmac);
|
bgmac_chip_reset(bgmac);
|
||||||
|
|
||||||
/* For Northstar, we have to take all GMAC core out of reset */
|
/* For Northstar, we have to take all GMAC core out of reset */
|
||||||
|
@ -41,6 +39,3 @@ index 3007d95..728373b 100644
|
||||||
struct bcma_device *ns_core;
|
struct bcma_device *ns_core;
|
||||||
int ns_gmac;
|
int ns_gmac;
|
||||||
|
|
||||||
--
|
|
||||||
1.8.4.5
|
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
/* The Mellanox Tavor device gives false positive parity errors
|
/* The Mellanox Tavor device gives false positive parity errors
|
||||||
* Mark this device with a broken_parity_status, to allow
|
* Mark this device with a broken_parity_status, to allow
|
||||||
* PCI scanning code to "skip" this now blacklisted device.
|
* PCI scanning code to "skip" this now blacklisted device.
|
||||||
@@ -2871,6 +2872,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_I
|
@@ -2905,6 +2906,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_I
|
||||||
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x65f9, quirk_intel_mc_errata);
|
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x65f9, quirk_intel_mc_errata);
|
||||||
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x65fa, quirk_intel_mc_errata);
|
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x65fa, quirk_intel_mc_errata);
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ivytown NTB BAR sizes are misreported by the hardware due to an erratum. To
|
* Ivytown NTB BAR sizes are misreported by the hardware due to an erratum. To
|
||||||
@@ -2927,6 +2929,8 @@ static void fixup_debug_report(struct pc
|
@@ -2961,6 +2963,8 @@ static void fixup_debug_report(struct pc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
/*
|
/*
|
||||||
* Some BIOS implementations leave the Intel GPU interrupts enabled,
|
* Some BIOS implementations leave the Intel GPU interrupts enabled,
|
||||||
* even though no one is handling them (f.e. i915 driver is never loaded).
|
* even though no one is handling them (f.e. i915 driver is never loaded).
|
||||||
@@ -2961,6 +2965,8 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IN
|
@@ -2995,6 +2999,8 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IN
|
||||||
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
|
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
|
||||||
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
|
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue