Re: [PATCH 6/6] block: Add n64 cart driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 4 Jan 2021 09:28:44 -0700
Jens Axboe <axboe@xxxxxxxxx> wrote:

> On 1/4/21 9:27 AM, Lauri Kasanen wrote:
> > On Mon, 4 Jan 2021 08:13:32 -0800
> > Keith Busch <kbusch@xxxxxxxxxx> wrote:
> >
> >>> The media is read-only (but not runtime removable).
> >>
> >> It's been a while, but I could swear we can save state on these carts.
> >> If so, it sounds like that must be separate from the media this driver
> >> is accessing, so is that capability provided through a different driver?
> >
> > Saving uses a separate mechanism, and there are several depending on
> > what type of cart it is (no saves, flash, eeprom, or sram). If the cart
> > has no save possibility, there is an optional memory card attached to
> > the joypad controller.
> >
> > Currently there is no driver for any of these.
>
> Maybe it'd make sense to make this runtime configurable through configfs
> or similar, requiring boot parameters (and hence a reboot to change
> them) seems pretty iffy. Similarly, why isn't it available as a module?

You can't change the media without a reboot. What would be the use?
(it's not possible to have multiple carts, if you're wondering)

The lack of a module option is because the target system has 8mb ram.
The kernel is already very bloated, at one time during testing just
enabling the smallest IO governor (mq deadline) caused an OOM during
boot.

Same for configfs, debugfs, etc. No such options to save RAM.

- Lauri




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux