message: iMC CAS_COUNT.RD/WR events are supported on all processors in ServerPCICFGUncore
diff: @@ -4035,14 +4035,6 @@ void ServerPCICFGUncore::programServerUncoreMemoryMetrics(int rankA, int rankB)
  {
  switch(cpu_model)
  {
  - case PCM::IVYTOWN:
  - case PCM::HASWELLX:
  - case PCM::BDX_DE:
  - case PCM::BDX:
  - MCCntConfig[0] = MC_CH_PCI_PMON_CTL_EVENT(0x04) + MC_CH_PCI_PMON_CTL_UMASK(3); // monitor reads on counter 0: CAS_COUNT.RD
  - MCCntConfig[1] = MC_CH_PCI_PMON_CTL_EVENT(0x04) + MC_CH_PCI_PMON_CTL_UMASK(12); // monitor writes on counter 1: CAS_COUNT.WR
  - MCCntConfig[2] = MC_CH_PCI_PMON_CTL_EVENT(0x04) + MC_CH_PCI_PMON_CTL_UMASK(2); // monitor partial writes on counter 2: CAS_COUNT.RD_UNDERFILL,
  - break;
  case PCM::KNL:
  MCCntConfig[0] = MC_CH_PCI_PMON_CTL_EVENT(0x03) + MC_CH_PCI_PMON_CTL_UMASK(1); // monitor reads on counter 0: CAS.RD
  MCCntConfig[1] = MC_CH_PCI_PMON_CTL_EVENT(0x03) + MC_CH_PCI_PMON_CTL_UMASK(2); // monitor reads on counter 1: CAS.WR
  @@ -4050,8 +4042,9 @@ void ServerPCICFGUncore::programServerUncoreMemoryMetrics(int rankA, int rankB)
  EDCCntConfig[1] = MC_CH_PCI_PMON_CTL_EVENT(0x02) + MC_CH_PCI_PMON_CTL_UMASK(1); // monitor reads on counter 1: WPQ
  break;
  default:
  - std::cerr << "PCM Error: your processor "<< pcm->getCPUBrandString() << " model "<< cpu_model << " does not support the requred performance events "<< std::endl;
  - return;
  + MCCntConfig[0] = MC_CH_PCI_PMON_CTL_EVENT(0x04) + MC_CH_PCI_PMON_CTL_UMASK(3); // monitor reads on counter 0: CAS_COUNT.RD
  + MCCntConfig[1] = MC_CH_PCI_PMON_CTL_EVENT(0x04) + MC_CH_PCI_PMON_CTL_UMASK(12); // monitor writes on counter 1: CAS_COUNT.WR
  + MCCntConfig[2] = MC_CH_PCI_PMON_CTL_EVENT(0x04) + MC_CH_PCI_PMON_CTL_UMASK(2); // monitor partial writes on counter 2: CAS_COUNT.RD_UNDERFILL,
  }
  } else {
  switch(cpu_model)
  