Adding KCS-SMM channel restriction

Added support to filter the SMM commands as per the updated whitelist
conf.

Tested:
When RestrictionMode is Provisioning
  Executed a blocked command on SMM and SystemInterface(Success).
When RestrictionMode is ProvisionedHostWhitelist
  Verified following condition over SMM channel
  1) Executed a command whitlisted on SMM channel(Success).
  2) Executed a command blocked on SMM channel(Denied with CC D5).
  Verified following condition over SystemInterface
  3) Executed a command whitlisted on SystemInterface(Success).
  4) Executed a command blocked on SystemInterface(Denied with CC D5).
When RestrictionMode is ProvisionedHostDisabled
  Executed an allowed command on both SMM and SystemInterface
(Denied with CC D5).

Change-Id: If99fd90ea9faf1d3440d10ecfc385ab3c907c736
Signed-off-by: Arun P. Mohanan <arun.p.m@linux.intel.com>
1 file changed