Date: Sun, 17 Jan 2016 00:14:22 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294197 - head/sys/dev/hwpmc Message-ID: <201601170014.u0H0EMni067431@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sun Jan 17 00:14:22 2016 New Revision: 294197 URL: https://svnweb.freebsd.org/changeset/base/294197 Log: e5500 HWPMC is identical to e500mc, so add support check for it. Modified: head/sys/dev/hwpmc/hwpmc_e500.c head/sys/dev/hwpmc/hwpmc_powerpc.c Modified: head/sys/dev/hwpmc/hwpmc_e500.c ============================================================================== --- head/sys/dev/hwpmc/hwpmc_e500.c Sat Jan 16 22:32:57 2016 (r294196) +++ head/sys/dev/hwpmc/hwpmc_e500.c Sun Jan 17 00:14:22 2016 (r294197) @@ -523,6 +523,7 @@ e500_allocate_pmc(int cpu, int ri, struc pe_cpu_mask = ev->pe_code & PMC_PPC_E500V2; break; case FSL_E500mc: + case FSL_E5500: pe_cpu_mask = ev->pe_code & PMC_PPC_E500MC; break; } Modified: head/sys/dev/hwpmc/hwpmc_powerpc.c ============================================================================== --- head/sys/dev/hwpmc/hwpmc_powerpc.c Sat Jan 16 22:32:57 2016 (r294196) +++ head/sys/dev/hwpmc/hwpmc_powerpc.c Sun Jan 17 00:14:22 2016 (r294197) @@ -178,6 +178,7 @@ pmc_md_initialize() case FSL_E500v1: case FSL_E500v2: case FSL_E500mc: + case FSL_E5500: error = pmc_e500_initialize(pmc_mdep); break; default:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601170014.u0H0EMni067431>