2010-11-03 13:08:06 Bug in arch/blackfin/kernel/cplb-nompu/cplbinit.c trunk and 2010R1 branch
Andrew Rook (UNITED KINGDOM)
Message: 95527
arch/blackfin/kernel/cplb-nompu/cplbinit.c has a bug in generate_cplb_tables_all(), in the trunk and in the 2010R1 branch.
In line 119, ~(1 * 1024 * 1024) is 0xFFEFFFFF, so it just clears one bit of the address value rather than truncating it to a 1M byte boundary. It should be ~((1 * 1024 * 1024) - 1) for 0xFFF00000.
Andrew Rook
QuoteReplyEditDelete
2010-11-04 04:00:21 Re: Bug in arch/blackfin/kernel/cplb-nompu/cplbinit.c trunk and 2010R1 branch
Sonic Zhang (CHINA)
Message: 95546
Applied to both 2010R1 and trunk.
Thank you