Skip to content

Commit

Permalink
Adding RMA BAR, Fix to MMIOBAR
Browse files Browse the repository at this point in the history
Change-Id: I160b4a4620e499e367350fd09a2f4271553441c3
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37110
Reviewed-by: Jenny Huynh <jhuynh@us.ibm.com>
Dev-Ready: Jenny Huynh <jhuynh@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37112
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Juan Medina authored and dcrowell77 committed Mar 3, 2017
1 parent a844e1c commit 64feee6
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src/import/chips/p9/procedures/hwp/initfiles/p9_vas_scom.C
Expand Up @@ -32,8 +32,7 @@ using namespace fapi2;
constexpr uint64_t literal_0x00200102000D7FFF = 0x00200102000D7FFF;
constexpr uint64_t literal_0x0000000000000000 = 0x0000000000000000;
constexpr uint64_t literal_0x00DF0201C0000000 = 0x00DF0201C0000000;
constexpr uint64_t literal_0x80000000 = 0x80000000;
constexpr uint64_t literal_0x8000000 = 0x8000000;
constexpr uint64_t literal_0x0080000000000000 = 0x0080000000000000;
constexpr uint64_t literal_0x1 = 0x1;

fapi2::ReturnCode p9_vas_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& TGT0,
Expand Down Expand Up @@ -66,15 +65,27 @@ fapi2::ReturnCode p9_vas_scom(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>&
{
FAPI_TRY(fapi2::getScom( TGT0, 0x301180aull, l_scom_buffer ));

l_scom_buffer.insert<8, 31, 33, uint64_t>(literal_0x80000000 );
l_scom_buffer.insert<8, 31, 8, uint64_t>(literal_0x0080000000000000 );
FAPI_TRY(fapi2::putScom(TGT0, 0x301180aull, l_scom_buffer));
}
{
FAPI_TRY(fapi2::getScom( TGT0, 0x301180bull, l_scom_buffer ));

l_scom_buffer.insert<8, 28, 36, uint64_t>(literal_0x8000000 );
l_scom_buffer.insert<8, 28, 8, uint64_t>(literal_0x0080000000000000 );
FAPI_TRY(fapi2::putScom(TGT0, 0x301180bull, l_scom_buffer));
}
{
FAPI_TRY(fapi2::getScom( TGT0, 0x301180eull, l_scom_buffer ));

l_scom_buffer.insert<8, 44, 8, uint64_t>(literal_0x0080000000000000 );
FAPI_TRY(fapi2::putScom(TGT0, 0x301180eull, l_scom_buffer));
}
{
FAPI_TRY(fapi2::getScom( TGT0, 0x301180full, l_scom_buffer ));

l_scom_buffer.insert<8, 44, 8, uint64_t>(literal_0x0080000000000000 );
FAPI_TRY(fapi2::putScom(TGT0, 0x301180full, l_scom_buffer));
}
{
FAPI_TRY(fapi2::getScom( TGT0, 0x301184dull, l_scom_buffer ));

Expand Down

0 comments on commit 64feee6

Please sign in to comment.