The Hodrick-Prescott filter with priors: linear restrictions on HP filters