Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Mar 01, 2025
  2. Feb 28, 2025
  3. Feb 27, 2025
  4. Feb 26, 2025
  5. Feb 24, 2025
    • Tom Rini's avatar
      Prepare v2025.04-rc3 · dc0ee458
      Tom Rini authored
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      v2025.04-rc3
      dc0ee458
    • Marek Vasut's avatar
      mmc: Fix size calculation for sector addressed MMC version 4 · dbb9e136
      Marek Vasut authored
      For eMMC v4 and newer that is smaller than 2 GiB, the JEDEC JESD84-B51
      section 6.2.4 Configure partitions indicates that EXT_CSD SEC_COUNT
      should not be used to determine device size, and instead device size
      should be calculated from C_SIZE and C_SIZE_MULT.
      
      This is not exactly accurate, the 2 GiB limit is not a hard line,
      there are eMMC devices which are smaller than 2 GiB and still
      require device size to be determined from EXT_CSD SEC_COUNT. The
      hard line is instead OCR HCS bit, which indicates whether the device
      is byte or sector addressed, the former applies to most devices
      below 2 GiB, and the later applies mostly to devices above 2 GiB.
      
      However, there are a couple of devices which are smaller than 2 GiB
      and still set the OCR HCS bit to indicate they are sector addressed,
      and therefore the size calculation for those devices should also
      use EXT_CSD SEC_COUNT . Use mmc->high_capacity flag to discern the
      devices instead of arbitrary 2 GiB lim...
      dbb9e136
    • Joao Marcos Costa's avatar
      fs/squashfs: fix potential integer overflows · 59fd62d7
      Joao Marcos Costa authored
      
      The length of buffers used to read inode tables, directory tables, and
      reading a file are calculated as: number of blocks * block size, and
      such plain multiplication is prone to overflowing (thus unsafe).
      
      Replace it by __builtin_mul_overflow, i.e. safe math.
      
      Signed-off-by: default avatarJoao Marcos Costa <joaomarcos.costa@bootlin.com>
      59fd62d7
  6. Feb 22, 2025
  7. Feb 20, 2025
  8. Feb 19, 2025