Skip to content

Commit bc13cf3

Browse files
plbossartvinodkoul
authored andcommitted
soundwire: clarify maximum allowed address
The existing code sets the maximum address at 0x80000000, which is not completely accurate. The last 2 Gbytes are indeed reserved, but so are the 896 Mbytes just before. The maximum address which can be used with paging or BRA is 0x47FFFFFF per Table 131 of the SoundWire 1.2.1 specification. Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 59401c3 commit bc13cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/soundwire/sdw_registers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#define SDW_REG_NO_PAGE 0x00008000
1515
#define SDW_REG_OPTIONAL_PAGE 0x00010000
16-
#define SDW_REG_MAX 0x80000000
16+
#define SDW_REG_MAX 0x48000000
1717

1818
#define SDW_DPN_SIZE 0x100
1919
#define SDW_BANK1_OFFSET 0x10

0 commit comments

Comments
 (0)