openwrtv4/target/linux/brcm63xx/patches-3.14
Jonas Gorski b723119385 brcm63xx: replace nvram_buf with a properly initialized array
Use an empty nvram_header to tell wl that there is no nvram buf.
wl else might try to allocate huge amount of memory because the
bcm63xx's nvram does not match the expected structure and contains
random values.

Fixes the following warning on load of wl:

[    9.152000] WARNING: at mm/slab_common.c:377 kmalloc_slab+0x4c/0xc0()
[    9.160000] Modules linked in: wl(P+) wl_glue ipv6 gpio_keys_polled input_polldev button_hotplug input_core
[    9.168000] CPU: 0 PID: 366 Comm: kmodloader Tainted: P             3.10.49 #1
[    9.176000] Stack : 00000000 00000000 00000000 00000000 8034b77a 00000042 81ac9af0 c02e0000
[    9.176000]    8028bf70 802df31b 0000016e 8034af28 81ac9af0 c02e0000 c02e0000 81b39810
[    9.176000]    0000002d 8002c9d4 00000003 8002a3c8 802937a0 c02e0000 8028e528 81ab398c
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 81ab3918
[    9.176000]    ...
[    9.212000] Call Trace:
[    9.216000] [<800224b8>] show_stack+0x48/0x70
[    9.220000] [<8002a538>] warn_slowpath_common+0x78/0xa8
[    9.224000] [<8002a5f0>] warn_slowpath_null+0x18/0x24
[    9.228000] [<8008145c>] kmalloc_slab+0x4c/0xc0
[    9.236000] [<80097258>] __kmalloc+0x20/0x10c
[    9.240000] [<80e23b90>] osl_malloc+0x24/0x6c [wl]
[    9.244000] [<80e15288>] nvram_init+0x54/0x164 [wl]
[    9.252000] [<80e08668>] si_pci_fixcfg+0x60c/0x9e8 [wl]
[    9.256000]
[    9.260000] ---[ end trace b5c4dbb046cf3c83 ]---

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41861
2014-07-28 15:31:37 +00:00
..
100-MIPS-BCM63XX-add-USB-host-clock-enable-delay.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
101-MIPS-BCM63XX-add-USB-device-clock-enable-delay-to-cl.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
101-MIPS-BCM63XX-sync-mips-counter-during-cpu-bringup.patch brcm63xx: sync mips counters during bringup of cpus 2014-04-05 18:32:34 +00:00
102-MIPS-BCM63XX-move-code-touching-the-USB-private-regi.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
103-MIPS-BCM63XX-add-OHCI-EHCI-configuration-bits-to-com.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
104-MIPS-BCM63XX-introduce-BCM63XX_OHCI-configuration-sy.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
105-MIPS-BCM63XX-add-support-for-the-on-chip-OHCI-contro.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
106-MIPS-BCM63XX-register-OHCI-controller-if-board-enabl.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
107-MIPS-BCM63XX-introduce-BCM63XX_EHCI-configuration-sy.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
108-MIPS-BCM63XX-add-support-for-the-on-chip-EHCI-contro.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
109-MIPS-BCM63XX-register-EHCI-controller-if-board-enabl.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
110-MIPS-BCM63XX-EHCI-controller-does-not-support-overcu.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
201-SPI-Allow-specifying-the-parsers-for-SPI-flash.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
204-USB-OHCI-allow-other-arches-to-use-the-BE-frame-numb.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
206-USB-EHCI-allow-limiting-ports-for-ehci-platform.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
207-MIPS-BCM63XX-move-device-registration-code-into-its-.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
208-MIPS-BCM63XX-pass-a-mac-addresss-allocator-to-board-.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
300-reset_buttons.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
301-led_count.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
302-extended-platform-devices.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
303-spi-board-info.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
304-boardid_fixup.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
308-board_leds_naming.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
309-cfe_version_mod.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
310-MIPS-BCM63XX-remove-RUNTIME_DETECT-code-from-registe.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
311-MIPS-BCM63XX-remove-RUNTIME_DETECT-from-irq-setup-co.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
312-MIPS-BCM63XX-remove-RUNTIME_DETECT-from-reset-code.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
313-MIPS-BCM63XX-remove-RUNTIME_DETECT-code-from-gpio.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
314-MIPS-BCM63XX-remove-RUNTIME_DETECT-from-spi-code.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
315-MIPS-BCM63XX-remove-RUNTIME_DETECT-usage-from-enet-c.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
316-MIPS-BCM63XX-remove-RUNTIME_DETECT-in-cpu-feature-ov.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
317-MIPS-BCM63XX-remove-RUNTIME_DETECT-code-for-bcmcpu_g.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
318-MIPS-BCM63XX-add-width-to-__dispatch_internal.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
319-MIPS-BCM63XX-move-bcm63xx_init_irq-down.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
320-MIPS-BCM63XX-replace-irq-dispatch-code-with-a-generi.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
321-MIPS-BCM63XX-append-irq-line-to-irq_-stat-mask.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
322-MIPS-BCM63XX-populate-irq_-stat-mask-_addr-for-secon.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
323-MIPS-BCM63XX-add-cpu-argument-to-dispatch-internal.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
324-MIPS-BCM63XX-protect-irq-register-accesses.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
325-MIPS-BCM63XX-wire-up-the-second-cpu-s-irq-line.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
326-MIPS-BCM63XX-use-irq_desc-as-argument-for-un-mask.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
327-MIPS-BCM63XX-allow-setting-affinity-for-IPIC.patch brcm63xx: update irq affinity code to latest version 2014-07-12 12:31:47 +00:00
328-cfe_simplify_detection.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
329-bcm63xxpart_use_cfedetection.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
330-MIPS-BCM63XX-add-a-new-cpu-variant-helper.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
331-MIPS-BCM63XX-define-variant-id-field.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
332-MIPS-BCM63XX-detect-BCM6328-variants.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
333-MIPS-BCM63XX-detect-BCM6362-variants.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
334-MIPS-BCM63XX-detect-BCM6368-variants.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
336-MIPS-BCM63XX-dynamically-set-the-pcie-memory-windows.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
337-MIPS-BCM63XX-widen-cpuid-field.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
338-MIPS-BCM63XX-increase-number-of-IRQs.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
339-MIPS-BCM63XX-add-support-for-BCM63268.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
340-MIPS-BCM63XX-add-pcie-support-for-BCM63268.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
341-MIPS-BCM63XX-add-support-for-BCM6318.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
342-MIPS-BCM63XX-split-PCIe-reset-signals.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
343-MIPS-BCM63XX-add-PCIe-support-for-BCM6318.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
344-MIPS-BCM63XX-detect-flash-type-early-and-store-the-r.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
345-MIPS-BCM63XX-fixup-mapped-SPI-flash-access-on-boot.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
346-MIPS-BCM63XX-USB-ENETSW-6318-clocks.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
347-MIPS-BCM6318-USB-support.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
349-MIPS-BCM63XX-add-BCM63268-USB-support.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
351-set-board-usbh-ports.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
355-MIPS-BCM63XX-allow-board-implementations-to-force-fl.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
400-bcm963xx_flashmap.patch brcm63xx: fix Livebox 1 support 2014-06-30 13:34:43 +00:00
401-bcm963xx_real_rootfs_length.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
402_bcm63xx_enet_vlan_incoming_fixed.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
403-6358-enet1-external-mii-clk.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
404-NET-bcm63xx_enet-move-phy_-dis-connect-into-probe-re.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
408-bcm63xx_enet-enable-rgmii-clock-on-external-ports.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
411-MIPS-BCM63XX-Register-SPI-flash-if-present.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
412-MTD-physmap-allow-passing-pp_data.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
413-BCM63XX-allow-providing-fixup-data-in-board-data.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
414-MTD-m25p80-allow-passing-pp_data.patch brcm63xx: update variant detection patches and fix VARID shift 2014-06-21 19:23:28 +00:00
415-MIPS-BCM63XX-export-the-attached-flash-type.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
416-BCM63XX-add-a-fixup-for-ath9k-devices.patch brcm63xx: 3.14: fix ath9k_pci_fixup 2014-07-28 11:12:25 +00:00
417-MTD-bcm63xxpart-allow-passing-a-caldata-offset.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
418-MIPS-BCM63XX-pass-caldata-info-to-flash.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
420-BCM63XX-add-endian-check-for-ath9k.patch brcm63xx: 3.14: fix ath9k_pci_fixup 2014-07-28 11:12:25 +00:00
421-BCM63XX-add-led-pin-for-ath9k.patch brcm63xx: 3.14: fix ath9k_pci_fixup 2014-07-28 11:12:25 +00:00
422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
423-bcm63xx_enet_add_b53_support.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
424-bcm63xx_enet_no_request_mem_region.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
500-board-D4PW.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
501-board-NB4.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
502-board-96338W2_E7T.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
503-board-CPVA642.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
504-board_dsl_274xb_rev_c.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
505-board_spw500v.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
506-board_gw6200_gw6000.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
507-board-MAGIC.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
508-board_hw553.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
509-board_rta1320_16m.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
510-board_spw303v.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
511-board_V2500V.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
512-board_BTV2110.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
513-MIPS-BCM63XX-add-inventel-Livebox-support.patch brcm63xx: fix Livebox 1 support 2014-06-30 13:34:43 +00:00
514-board_ct536_ct5621.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
515-board_DWV-S0_fixes.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
516-board_96348A-122.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
517-RTA1205W_16_uart_fixes.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
519_board_CPVA502plus.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
520-bcm63xx-add-support-for-96368MVWG-board.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
521-bcm63xx-add-support-for-96368MVNgr-board.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
522-MIPS-BCM63XX-add-96328avng-reference-board.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
523-MIPS-BCM63XX-add-963281TAN-reference-board.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
524-board_dsl_274xb_rev_f.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
525-board_96348w3.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
526-board_CT6373-1.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
527-board_dva-g3810bn-tl-1.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
528-board_nb6.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
529-board_fast2604.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
530-board_A4001N1.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
531-board_AR-5387un.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
532-board_AR-5381u.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
533-board_rta770bw.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
534-board_hw556.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
535-board_rta770w.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
536-board_fast2704.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
537-board_fast2504n.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
550-alice_gate2_leds.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
551-96348gw_a_leds.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
552-board_96348gw-10_reset_button.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
553-boards_probe_switch.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
554-board_DWVS0_leds_buttons.patch brcm63xx: fixup patches borked by allowing too much fuzz 2014-07-08 12:27:55 +00:00
555-board_96318ref.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
556-board_96318ref_p300.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
557-board_bcm963269bhr.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
558-board_AR1004G.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
559-board_vw6339gu.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
560-board_963268gu_p300.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
561-board_WAP-5813n.patch brcm63xx: Fix HW553 support 2014-07-12 12:31:39 +00:00
562-board_VR-3025u.patch brcm63xx: Add support for Comtrend VR-3025u 2014-07-27 17:44:45 +00:00
563-board_VR-3025un.patch brcm63xx: Add support for Comtrend VR-3025un 2014-07-27 17:44:48 +00:00
564-board_P870HW-51a_v2.patch brcm63xx: Add support for ZyXEL P870HW-51a v2 2014-07-27 17:44:53 +00:00
565-board_hw520.patch brcm63xx: Add support for Huawei HG520v 2014-07-27 17:44:56 +00:00
566-board_A4001N.patch brcm63xx: Add support for ADB P.DG A4001N 2014-07-27 17:44:59 +00:00
800-wl_exports.patch brcm63xx: replace nvram_buf with a properly initialized array 2014-07-28 15:31:37 +00:00
801-ssb_export_fallback_sprom.patch brcm63xx: allow bcm963xx and livebox support at the same time 2014-06-21 19:23:38 +00:00
802-rtl8367r_fix_RGMII_support.patch brcm63xx: update development kernel to linux 3.14 2014-04-04 10:17:08 +00:00
803-jffs2-work-around-unaligned-accesses-failing-on-bcm6.patch brcm63xx: hack around jffs2 corruption with SMP 2014-04-06 22:03:42 +00:00