1. fix the bug of sm502 pci configuration r/w