RFC mips: ralink: mt7621: fix too-early kzalloc
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mips: ralink: mt7621: define MT7621_SYSC_BASE with __iomemarch/ arch/ | +6 | 0 replies | |
| 2/3 | mips: ralink: mt7621: soc queries and tests as functionsarch/ | +61 | 0 replies | |
| 3/3 | mips: ralink: mt7621: do not use kzalloc too earlyarch/ | +9 | 5 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Sergio Paracuellos |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | T-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/3] mips: ralink: mt7621: fix too-early kzalloc
ralink mt7621 attempts to use kzalloc before normal memory management is available.
Before v6.1-rc1, mt7621.c soc_dev_init silently failed to kzalloc and returned in soc_dev_init, but continued to boot without the soc device registered.
After, kernel crashes before it outputs any console messages
This was bisected to an mm/slub change (detailed in patch 3)
RFC due to
- probably a (much) better way to do this
- do not have mt7621 device with PCIe to test
drivers/phy/ralink/phy-mt7621-pci.c
- should this reference a commit as Fixes?