A is one of the notes of the pentatonic scale that would fit over both of those chords.
Also the B Dorian mode is what could be played over the Bm7. This can be built by playing the A major scale starting on B.
Also the B Dorian mode is what could be played over the Bm7. This can be built by playing the A major scale starting on B.