Stocks edge up as inflation data dims policy risk, oil jumps