Re: [PATCH] x86/build: Move _etext to actual end of .text

2019-06-05 Thread Alec Ari
Hi,

I'm having this problem too, build is failing:

Invalid absolute R_X86_64_32S relocation: _etext

I stayed on the 4.14 branch to help prevent these kind of breakages,
so much for that idea. Gentoo GCC 8.3.0.

Alec


drm/Kconfig: Remove selection of BACKLIGHT_* options for DRM_RADEON

2019-03-20 Thread Alec Ari

From e38df43127fd9a5db167f5873aee882b60f63f37 Mon Sep 17 00:00:00 2001
From: Alec Ari 
Date: Wed, 20 Mar 2019 20:19:48 -0500
Subject: drm/Kconfig: Remove selection of BACKLIGHT_* options for 
DRM_RADEON


Backlight support is not required for base DRM_RADEON
functionality. Tested on Acer Aspire One w/ Radeon HD 6290.

Signed-off-by: Alec Ari 
---
 drivers/gpu/drm/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index bd943a71756c..16dd978bd74e 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -193,8 +193,6 @@ config DRM_RADEON
 select DRM_TTM
select POWER_SUPPLY
select HWMON
-   select BACKLIGHT_CLASS_DEVICE
-   select BACKLIGHT_LCD_SUPPORT
select INTERVAL_TREE
help
  Choose this option if you have an ATI Radeon graphics card.  There
--
2.20.1


Compiling error if CONFIG_CPU_SUP_INTEL is disabled

2019-03-13 Thread Alec Ari
If CONFIG_CPU_SUP_INTEL is disabled with either the 5.0.2 or 4.20.16
kernel, it errors out right away:

In file included from arch/x86/events/amd/core.c:8:
arch/x86/events/amd/../perf_event.h:1035:45: warning: ‘struct
cpu_hw_event’ declared inside parameter list will not be visible
outside of this definition or declaration
 static inline int intel_cpuc_prepare(struct cpu_hw_event *cpuc, int cpu)
 ^~~~
arch/x86/events/amd/../perf_event.h:1040:45: warning: ‘struct
cpu_hw_event’ declared inside parameter list will not be visible
outside of this definition or declaration
 static inline void intel_cpuc_finish(struct cpu_hw_event *cpuc)
 ^~~~
  CC  arch/x86/events/amd/uncore.o
  CC  arch/x86/events/amd/ibs.o
  AR  kernel/bpf/built-in.a
  CC  kernel/cgroup/cgroup.o
In file included from arch/x86/events/amd/ibs.c:19:
arch/x86/events/amd/../perf_event.h:1035:45: warning: ‘struct
cpu_hw_event’ declared inside parameter list will not be visible
outside of this definition or declaration
 static inline int intel_cpuc_prepare(struct cpu_hw_event *cpuc, int cpu)
 ^~~~
arch/x86/events/amd/../perf_event.h:1040:45: warning: ‘struct
cpu_hw_event’ declared inside parameter list will not be visible
outside of this definition or declaration
 static inline void intel_cpuc_finish(struct cpu_hw_event *cpuc)
 ^~~~
  AR  arch/x86/events/amd/built-in.a
  CC  arch/x86/events/core.o
In file included from arch/x86/events/core.c:44:
arch/x86/events/perf_event.h:1035:45: warning: ‘struct cpu_hw_event’
declared inside parameter list will not be visible outside of this
definition or declaration
 static inline int intel_cpuc_prepare(struct cpu_hw_event *cpuc, int cpu)
 ^~~~
arch/x86/events/perf_event.h:1040:45: warning: ‘struct cpu_hw_event’
declared inside parameter list will not be visible outside of this
definition or declaration
 static inline void intel_cpuc_finish(struct cpu_hw_event *cpuc)
 ^~~~
arch/x86/events/core.c: In function ‘free_fake_cpuc’:
arch/x86/events/core.c:1998:20: error: passing argument 1 of
‘intel_cpuc_finish’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  intel_cpuc_finish(cpuc);
^~~~
In file included from arch/x86/events/core.c:44:
arch/x86/events/perf_event.h:1040:59: note: expected ‘struct
cpu_hw_event *’ but argument is of type ‘struct cpu_hw_events *’
 static inline void intel_cpuc_finish(struct cpu_hw_event *cpuc)
  ~^~~~
arch/x86/events/core.c: In function ‘allocate_fake_cpuc’:
arch/x86/events/core.c:2012:25: error: passing argument 1 of
‘intel_cpuc_prepare’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  if (intel_cpuc_prepare(cpuc, cpu))
 ^~~~
In file included from arch/x86/events/core.c:44:
arch/x86/events/perf_event.h:1035:59: note: expected ‘struct
cpu_hw_event *’ but argument is of type ‘struct cpu_hw_events *’
 static inline int intel_cpuc_prepare(struct cpu_hw_event *cpuc, int cpu)
  ~^~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:291: arch/x86/events/core.o] Error 1
make[1]: *** [scripts/Makefile.build:516: arch/x86/events] Error 2
make: *** [Makefile:1058: arch/x86] Error 2


Backport Set the CPB bit unconditionally on F17h to 4.14 branch

2019-03-12 Thread Alec Ari
Request to backport 0237199186e7a4aa5310741f0a6498a20c820fd7 to 4.14 branch

Thanks!

Alec


Re: [PATCH] scripts/sign-file.c: Use CMS if LibreSSL >= 2.6.0 is present

2019-02-16 Thread Alec Ari
Scratch that patch, error is still there on module installation. Sorry
about that! I thought that should have fixed it, I must be missing
something here.

Alec


Fwd: [PATCH] scripts/sign-file.c: Use CMS if LibreSSL >= 2.6.0 is present

2019-02-16 Thread Alec Ari
Hello, it seems it's impossible to add tabs via gmail. The appropriate
patch has been attached to kernel bugzilla #202159

Sorry about this, hitting tab toggles highlighted selection, using
"more indent" didn't do the trick I guess. The patch works here but I
suppose not for the one who reported the bug.

Alec