Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
Details
- Reviewers
manu mhorne - Group Reviewers
riscv - Commits
- rGe22111893089: aw_wdog: support Allwinner D1 watchdog
rG3a6f0bb25f06: aw_wdog: support Allwinner D1 watchdog
The Lichee RV does not reset any more after executing watchdog -t 0
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I don't see any reason why this needs to be part of the revision stack, it isn't dependent on anything else
sys/riscv/include/machdep.h | ||
---|---|---|
40 ↗ | (On Diff #104497) | For what? You haven't touched this header. |
Hello Jessica.
Sorry I am a new contributor to FreeBSD and have not used Phabricator before.
If you tell me how I can maybe edit the stack so that the revisions are separate?
Regards, Julien.
sys/riscv/include/machdep.h | ||
---|---|---|
40 ↗ | (On Diff #104497) | This is to get the definition of PHYS_AVAIL_ENTRIES. Otherwise the build would fail. |
The driver changes look good to me although I am not the authority there. As mentioned please drop the diff to machdep.h.
Check out 'Edit Related Revisions' on the right hand side.
sys/riscv/allwinner/files.allwinner | ||
---|---|---|
2–4 | This seems fine for now; we can always re-evaluate how this is organized if/when more allwinner drivers get added to the riscv build. | |
sys/riscv/include/machdep.h | ||
40 ↗ | (On Diff #104497) | I believe we can do away with the problematic physmap global altogether. I will handle this separately. For this review, it should be enough to remove #include <machine/machdep.h> from the watchdog driver. I could build the arm and arm64 kernels without it. |
Hi Mitchell and thanks for the review.
I have made the corrections for machdep.h and removed the parent revision.
Julien
The watchdog driver part looks ok for me after looking at the user manual.
I leave anyone who do riscv stuff to feel free to commit.
sys/riscv/allwinner/files.allwinner | ||
---|---|---|
2–4 | Agreed |