p1 support patch set 2

Signed-off-by: Humberto Borba <humberos@gmail.com>