• Martin K. Petersen's avatar
    Merge patch series "Add UFS RTC support" · 6df14a32
    Martin K. Petersen authored
    Bean Huo <beanhuo@iokpp.de> says:
    
    Adding RTC support for embedded storage device UFS in its driver, it
    is important for a few key reasons:
    
    1. Helps with Regular Maintenance:
    The RTC provides a basic way to keep track of time, making it useful for
    scheduling routine maintenance tasks in the storage device. This includes
    things like making sure data is spread
    evenly across the storage to extend its life.
    
    2. Figuring Out How Old Data Is:
    The RTC helps the device estimate how long ago certain parts of the storage
    were last used. This is handy for deciding when to do maintenance tasks to
    keep the storage working well over time.
    
    3. Making Devices Last Longer:
    By using the RTC for regular upkeep, we can make sure the storage device lasts
    longer and stays reliable. This is especially important for devices that need
    to work well for a long time.
    
    4.Fitting In with Other Devices:
    The inclusion of RTC support aligns with existing UFS specifications (starting
    from UFS Spec 2.0) and is consistent with the prevalent industry practice. Many
    UFS devices currently on the market utilize RTC for internal timekeeping. By
    ensuring compatibility with this widely adopted standard, the embedded storage
    device becomes seamlessly integrable with existing hardware and software
    ecosystems, reducing the risk of compatibility issues.
    
    In short, adding RTC support to embedded storage device UFS helps with regular
    upkeep, extends the device's life, ensures compatibility, and keeps everything
    running smoothly with the rest of the system.
    
    Link: https://lore.kernel.org/r/20231212220825.85255-1-beanhuo@iokpp.deSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    6df14a32
ufs-sysfs.c 46.8 KB