public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Cc: Vincent Li <vincent.mc.li@gmail.com>
Subject: Re: [PATCH] kernel: Enable loongarch64 kernel config MMC_LOONGSON2
Date: Thu, 03 Dec 2026 17:03:26 +0000 (UTC)	[thread overview]
Message-ID: <4jgLYV18Zfz2ydT@michael.sof.ipfire.org> (raw)
In-Reply-To: <20261203023403.2049053-1-vincent.mc.li@gmail.com>

Hi Vincent,

Thanks for the patch. I have merged it into next.

I added a few things around it:

- The module needs an entry in the rootfile, which the patch didn't have. I added loongson2-mmc.ko.xz in a separate commit.
- I enabled the other drivers that the 2K SoCs and the LS7A bridge need: clock, pin control, GPIO, I2C, RTC, thermal and APB DMA. I also enabled SPI with the Loongson SPI controllers, plus the generic device-tree drivers that boards usually need (OF serial, reset via GPIO, regulators, PWM, cpufreq-dt, DWC2 USB, on-board USB hubs, EFI RTC).

The loongarch64 kernel configuration so far was only meant to compile quickly and has only been run in a VM, never on real hardware. Your testing on the OrangePi Nova is therefore very valuable.

Could you try a build of next on your board and tell me:

1. Does the eMMC show up, and does it work for you now?
2. What does dmesg say? In particular, are there errors from the new drivers, or devices that still have no driver?
3. What does lspci -k show for devices without a driver?
4. Does the serial console work and does the board reboot and power off cleanly?
5. Is the board booted from a device tree or from ACPI? That tells me which of the new drivers are used.

For future patches, please drop the Tested-by: line when it is from the same person as the Signed-off-by:, and please check the link to the Debian bug, because I could not open it. Both are small points.

Thanks again for working on LoongArch support!

Best,
Michael


      reply	other threads:[~2026-12-03 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  2:34 Vincent Li
2026-12-03 17:03 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4jgLYV18Zfz2ydT@michael.sof.ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    --cc=vincent.mc.li@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox