soundwire: clarify maximum allowed address
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 26 Mar 2024 09:01:20 +0000 (09:01 +0000)
committerVinod Koul <vkoul@kernel.org>
Fri, 5 Apr 2024 11:49:15 +0000 (17:19 +0530)
commitbc13cf3f6e63dd708ccd160a28e6bb696af7e9f6
treef0270ec3b90631b1bb64e9b010dd5b30242c345f
parent59401c3c08e1a306e29a8d6c826685e2c5c6c794
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 <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240326090122.1051806-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/soundwire/sdw_registers.h