riscv: andes_plic: Fix riscv_get_ipi() mask

Current logic in riscv_get_ipi() for Andes PLICSW does not look
correct. The mask to test IPI pending bits for a hart should be
left shifted by (8 * gd->arch.boot_hart), just the same as what
is done in riscv_send_ipi().

Fixes: 8b3e97ba ("riscv: add functions for reading the IPI status")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Tested-by: Rick Chen <rick@andestech.com>
40 jobs for master in 65 minutes and 43 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Testsuites
passed Build envtools #280074

00:00:13

passed Build tools-only #280073

00:00:28

passed Check for configs without MAINTAINERS entry #280072

00:00:11

passed cppcheck #280068

00:00:53

passed grep TODO/FIXME/HACK #280069

00:00:27

passed htmldocs #280070

00:00:52

passed Run binman, buildman, dtoc, Kconfig and patman testsuites #280075

00:01:07

passed Run tests for Nokia RX-51 (aka N900) #280076

00:03:19

passed sloccount #280071

00:00:55

 
  Test.Py
passed evb-ast2500 test.py #280081

00:00:39

passed integratorcp_cm926ejs test.py #280083

00:00:58

passed qemu_arm64 test.py #280085

00:01:20

passed qemu_arm test.py #280084

00:01:40

passed qemu_malta64el test.py #280089

00:00:37

passed qemu_malta64 test.py #280088

00:01:00

passed qemu_maltael test.py #280087

00:01:00

passed qemu_malta test.py #280086

00:01:00

passed qemu-ppce500 test.py #280090

00:01:02

passed qemu-riscv32_spl test.py #280093

00:01:08

passed qemu-riscv32 test.py #280091

00:00:58

passed qemu-riscv64_spl test.py #280094

00:00:47

passed qemu-riscv64 test.py #280092

00:01:23

passed qemu-x86_64 test.py #280096

00:01:43

passed qemu-x86 test.py #280095

00:01:36

passed r2dplus_i82557c test.py #280097

00:00:37

passed r2dplus_pcnet test.py #280098

00:00:38

passed r2dplus_rtl8139 test.py #280099

00:00:42

passed r2dplus_tulip test.py #280100

00:01:00

passed sandbox_flattree test.py #280082

00:00:56

passed sandbox_noinst_test.py #280080

00:01:17

passed sandbox_spl test.py #280079

00:01:18

passed sandbox test.py #280077

00:03:45

passed sandbox with clang test.py #280078

00:03:27

passed xilinx_versal_virt test.py #280102

00:00:40

passed xilinx_zynq_virt test.py #280101

00:01:09

passed xtfpga test.py #280103

00:00:58

 
  World Build
passed build all 32bit ARM platforms #280104

00:48:35

passed build all 64bit ARM platforms #280105

00:17:44

passed build all other platforms #280107

00:05:22

passed build all PowerPC platforms #280106

00:05:50