Repository navigation
gm: the GM8128 that reads 0x812622 - #307
Merged
Merged
Conversation
The reporter's GM8128 reads PMU ID 0x812622, not the 0x812621 the vendor kernel in the dump used for testing knows. The vendor 2.6.28 tree's pmu.h has both, GM8128_MP_CHIP_ID and GM8128_MP1_CHIP_ID, and its own kernel prints "IC: GM8128 MP" for either.
PR Summary by Qodogm: map PMU ID 0x812622 to GM8128
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can move or hide resolved findings to focus on what still needs action |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #306, for #305.
ipctool from #306 reports
GM812xon the reporter's real GM8128 (comment). That chip'spmuveris 8463906, which is0x812622. #306's table came from a 2013 vendor kernel I disassembled, and that kernel only knows0x812621. The public 2.6.28 vendor tree has both IDs:platform-GM8126/pmu.hdefinesGM8128_MP_CHIP_ID 0x812621andGM8128_MP1_CHIP_ID 0x812622, and itspmu.cprintsIC: GM8128 MPfor either (fedya/aircam-openwrt).u-boot-grainmediainclude/configs/gm8126.hlists0x81262100and0x81262200as the two 1080p IDs.IC: GM8128 MPwith this ID.This PR maps
0x812622to GM8128 too.Tested
In qemu-bench's
gm8126machine, with-global gm-sys8126.chip-id=0x81262200: the 2013 kernel printsIC: Uknown!!!!!! 812622,pmuverreads 8463906, and ipctool reportsgm8128.