lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 22 Sep 2014 09:55:18 +0100 From: Sudeep Holla <sudeep.holla@....com> To: Stephen Boyd <sboyd@...eaurora.org>, LKML <linux-kernel@...r.kernel.org> CC: Sudeep Holla <sudeep.holla@....com>, Heiko Carstens <heiko.carstens@...ibm.com>, Lorenzo Pieralisi <Lorenzo.Pieralisi@....com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "linux-api@...r.kernel.org" <linux-api@...r.kernel.org>, "linux390@...ibm.com" <linux390@...ibm.com>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, "linux-ia64@...r.kernel.org" <linux-ia64@...r.kernel.org>, "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>, "linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org>, "x86@...nel.org" <x86@...nel.org> Subject: Re: [PATCH v4 04/11] drivers: base: support cpu cache information interface to userspace via sysfs Hi Stephen, On 19/09/14 23:24, Stephen Boyd wrote: > On 09/03/14 10:00, Sudeep Holla wrote: >> From: Sudeep Holla <sudeep.holla@....com> >> >> This patch adds initial support for providing processor cache information >> to userspace through sysfs interface. This is based on already existing >> implementations(x86, ia64, s390 and powerpc) and hence the interface is >> intended to be fully compatible. >> >> The main purpose of this generic support is to avoid further code >> duplication to support new architectures and also to unify all the existing >> different implementations. >> >> This implementation maintains the hierarchy of cache objects which reflects >> the system's cache topology. Cache devices are instantiated as needed as >> CPUs come online. The cache information is replicated per-cpu even if they are >> shared. A per-cpu array of cache information maintained is used mainly for >> sysfs-related book keeping. >> >> It also implements the shared_cpu_map attribute, which is essential for >> enabling both kernel and user-space to discover the system's overall cache >> topology. >> >> This patch also add the missing ABI documentation for the cacheinfo sysfs >> interface already, which is well defined and widely used. >> >> Signed-off-by: Sudeep Holla <sudeep.holla@....com> >> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org> >> Cc: Stephen Boyd <sboyd@...eaurora.org> >> Cc: linux-api@...r.kernel.org >> Cc: linux390@...ibm.com >> Cc: linux-arm-kernel@...ts.infradead.org >> Cc: linux-ia64@...r.kernel.org >> Cc: linuxppc-dev@...ts.ozlabs.org >> Cc: linux-s390@...r.kernel.org >> Cc: x86@...nel.org >> > > Reviewed-by: Stephen Boyd <sboyd@...eaurora.org> > Tested-by: Stephen Boyd <sboyd@...eaurora.org> > Thanks for all the reviews and testings of the series. Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists