On Thu, Oct 03, 2024 at 11:20:17AM -0700, Rong Xu wrote:
> Writing the doc with all these code-blocks was not fun either.
> We are happy to change if there is a better way for this.
>
> -Rong
>
> On Thu, Oct 3, 2024 at 9:13 AM Peter Zijlstra wrote:
> >
> > On Thu, Oct 03, 2024 at 09:11:34AM -070
On 10/3/24 05:03, Mark Brown wrote:
On Wed, Oct 02, 2024 at 05:18:36PM -0600, Shuah Khan wrote:
On 10/1/24 10:06, Deepak Gupta wrote:
+#ifndef __NR_prctl
+#define __NR_prctl 167
+#endif
+#ifndef __NR_map_shadow_stack
+#define __NR_map_shadow_stack 453
Why do we need to define these? Sho
On Thu, 2024-10-03 at 17:04 -0600, Shuah Khan wrote:
> On 10/3/24 05:03, Mark Brown wrote:
> > On Wed, Oct 02, 2024 at 05:18:36PM -0600, Shuah Khan wrote:
> > > On 10/1/24 10:06, Deepak Gupta wrote:
> >
> > > > +#ifndef __NR_prctl
> > > > +#define __NR_prctl 167
> > > > +#endif
> >
> > > > +#ifnd
On Wed, Oct 02, 2024 at 05:18:36PM -0600, Shuah Khan wrote:
> On 10/1/24 10:06, Deepak Gupta wrote:
> > +#ifndef __NR_prctl
> > +#define __NR_prctl 167
> > +#endif
> > +#ifndef __NR_map_shadow_stack
> > +#define __NR_map_shadow_stack 453
> Why do we need to define these? Shouldn't including
> as
On Wed, Oct 02, 2024 at 12:00:10PM -0600, Shuah Khan wrote:
> On 10/1/24 09:43, Nícolas F. R. A. Prado wrote:
> > Add documentation for the kselftests focused on testing devices and
> > point to it from the kselftest documentation. There are multiple tests
> > in this category so the aim of this pa
On Wed, Oct 02, 2024 at 08:29:28PM +0100, Marc Zyngier wrote:
> Mark Brown wrote:
> > They are, though really they should UNDEF if GCS isn't there (which I
> > had thought was what you were referencing here). Equally we only have
> > traps for a subset of GCS instructions and it's not like there
On Wed, Oct 02, 2024 at 04:34:00PM -0700, Rong Xu wrote:
> +Preparation
> +===
> +
> +Configure the kernel with:
> +
> + .. code-block:: make
> +
> + CONFIG_AUTOFDO_CLANG=y
> +
> +Customization
> +=
> +
> +You can enable or disable AutoFDO build for individual file and di
On Wed, Oct 02, 2024 at 04:34:02PM -0700, Rong Xu wrote:
> When the -ffunction-sections compiler option is enabled, each function
> is placed in a separate section named .text.function_name rather than
> putting all functions in a single .text section.
>
> However, using -function-sections can cau
On Thu, Oct 3, 2024 at 8:42 AM Peter Zijlstra wrote:
>
> On Wed, Oct 02, 2024 at 04:34:00PM -0700, Rong Xu wrote:
> > +6) Rebuild the kernel using the AutoFDO profile file with the same config
> > as step 1,
> > +(Note CONFIG_AUTOFDO_CLANG needs to be enabled):
> > +
> > + .. code-block:
On Thu, Oct 03, 2024 at 08:51:51AM -0700, Nick Desaulniers wrote:
> On Thu, Oct 3, 2024 at 8:42 AM Peter Zijlstra wrote:
> >
> > On Wed, Oct 02, 2024 at 04:34:00PM -0700, Rong Xu wrote:
> > > +6) Rebuild the kernel using the AutoFDO profile file with the same
> > > config as step 1,
> > > +(N
On Thu, Oct 3, 2024 at 9:03 AM Peter Zijlstra wrote:
>
> On Thu, Oct 03, 2024 at 08:51:51AM -0700, Nick Desaulniers wrote:
> > On Thu, Oct 3, 2024 at 8:42 AM Peter Zijlstra wrote:
> > >
> > > On Wed, Oct 02, 2024 at 04:34:00PM -0700, Rong Xu wrote:
> > > > +6) Rebuild the kernel using the AutoFDO
On Thu, Oct 03, 2024 at 09:11:34AM -0700, Nick Desaulniers wrote:
> > It makes it absolute crap for all of us who 'render' text documents
> > using less or vi.
>
> "It hurts when I punch myself in the face."
Weirdly enough I have a job that entails staring at text documents in
text editors all d
On Tue, Oct 01, 2024 at 11:58:57PM +0100, Mark Brown wrote:
> Provide a hwcap to enable userspace to detect support for GCS.
>
> Signed-off-by: Mark Brown
> #define HWCAP_PACA (1 << 30)
> #define HWCAP_PACG (1UL << 31)
> +#define HWCAP_GCS(1UL << 32)
>
Acked-by:
In principle, I don't see a problem using the new order unconditionally.
This new ordering of sections (.text.unlikely, .text.hot, then .text)
differs from the typical user-space ordering when no link-script is
used. Usually, the order is .text, .text.hot, and then .text.unlikely
(when -z keep-tex
Writing the doc with all these code-blocks was not fun either.
We are happy to change if there is a better way for this.
-Rong
On Thu, Oct 3, 2024 at 9:13 AM Peter Zijlstra wrote:
>
> On Thu, Oct 03, 2024 at 09:11:34AM -0700, Nick Desaulniers wrote:
>
> > > It makes it absolute crap for all of u
15 matches
Mail list logo