Commit Graph

4493 Commits

Author SHA1 Message Date
Jeremy Cline
32fe916e9b Disable debugging options. 2019-11-04 11:11:31 -05:00
Peter Robinson
721a1be308 fix usb on JetsonTX2 2019-11-02 17:43:30 +00:00
Laura Abbott
84e5b0ab61 bump and build again 2019-11-01 16:19:27 -04:00
Laura Abbott
15d025ac3c Align on kernel-devel
We don't actually need to be packaging most of these files so
switch to a smaller subset.
2019-11-01 16:18:24 -04:00
Laura Abbott
b8d58e2908 Bring back ApplyPatch and ApplyOptionalPatch macros
These are not used directly in Fedora but for easy of syncing
let's keep them around.
2019-11-01 16:18:24 -04:00
Laura Abbott
22f43b4c88 Few more build requires 2019-11-01 16:18:24 -04:00
Laura Abbott
581ddc4ac3 Whitespace and other minor cleanups 2019-11-01 16:18:24 -04:00
Laura Abbott
04b7b3c59b Add zfcpdump package
This is a package for dumping on s390x systems. We don't build
this for Fedora but bring it in for now.
2019-11-01 16:18:24 -04:00
Laura Abbott
77b485a83b Enable CONFIG_DEBUG_INFO_BTF 2019-11-01 09:16:20 -04:00
Laura Abbott
9b480548fc bump and build to fix broken weak-updates 2019-10-31 15:31:10 -04:00
Laura Abbott
8d6017d4ce Revert "Add some weak-updates"
This reverts commit 8044841427.

There's an issue with the weak-updates script that needs to
be fixed. Revert this for now.
2019-10-31 15:30:38 -04:00
Jeremy Cline
841574462c Linux v5.4-rc5-49-ge472c64aa4fa 2019-10-31 10:52:27 -04:00
Jeremy Cline
46fd293722 Reenable debugging options. 2019-10-31 10:37:27 -04:00
Laura Abbott
d40f98744c Merge #30 devel: Don't run hardlink if rpm-ostree is in use 2019-10-30 20:34:01 +00:00
Laura Abbott
5919dc6ef7 bump and build to make sure I haven't broken anything 2019-10-30 10:21:12 -04:00
Laura Abbott
39eefe69c9 Switch up compression to be faster 2019-10-29 15:45:08 -04:00
Laura Abbott
5a7f6d996d Update a comment 2019-10-29 15:28:51 -04:00
Laura Abbott
8be82a0f1b Don't put %{?_smp_mflags} in the common make definition
Some of the build targets may be racy and need to be fixed up
to build correctly. Until that happens, put %{?_smp_mflags} on
individual targets.
2019-10-29 15:28:51 -04:00
Laura Abbott
862edd6d96 ppc64le cflags uses -O3 2019-10-29 15:28:51 -04:00
Laura Abbott
da6f972e3c Remove redundant macros for ppc64le
We only have ppc64le
2019-10-29 15:28:51 -04:00
Laura Abbott
10b3a150cf Move the with_vanilla up with the rest of the macros 2019-10-29 15:28:51 -04:00
Laura Abbott
1cf4120f6f Fix debuginfo
From the original RHEL patch:

    This extra '+' causes problems with the regular expression used with
    /usr/lib/rpm/find-debuginfo.sh script from rpm-build, which is used to filter
    the debug files to the corresponding debuginfo packages. The '+' character
    in the release is interpreted as a regular expression operator and the
    debuginfo filter fails, with the build failing on an empty debuginfo file list.

    Which means we need to escape the extra '+' character if we want debuginfo
    filter to work. I tried to use '\' to escape, but rpm "eats" that, in testing
    '[+]' worked so is what I'm using to fix/workaround this problem. When RHEL 8
    drops the the extra +<number> in the future, we can remove this fix/workaround.

This problem is likely to come up so just add it in now.
2019-10-29 15:28:51 -04:00
Laura Abbott
c0312b2e60 Make turning off configchecks an official ---with option
Fedora does some validation on config options to catch
errors. There may be cases when we want to turn off that
checking because it doesn't actually matter. Make this a
full --with option to make it easier to turn off.
2019-10-29 15:28:51 -04:00
Laura Abbott
d9864a2973 Switch up some Fedora options
Downstream has different requirements than Fedora in some places.
Add some macros to support both cases.
2019-10-29 15:28:51 -04:00
Laura Abbott
5648544aab Add mod-internal package
Some of the downstream users want to package some modules for
internal use only. While Fedora isn't internal, it's still
useful to have packaging aligned. Add a few modules to this
package.
2019-10-29 15:28:51 -04:00
Laura Abbott
11fa12d6aa Bring in packaging support for kABI (no we are not getting an ABI)
Other products downstream of Fedora offer kernel ABI guarantees.
Fedora doesn't offer this and have no plans to do so but it's
useful to at least have the packaging in our tree. Add support.
2019-10-29 15:28:51 -04:00
Laura Abbott
dd53be813b Use the dist tag for the hard link instead of a wider fc* tag
More generic for other dist-tags
2019-10-29 15:28:51 -04:00
Laura Abbott
5a0c912794 Add some expanded UEFI support
Fedora currently only supports x86_64 secureboot signing.
There's ongoing work to enable other arches though. For now,
just bring in the packaging support with some of it commented
out.
2019-10-29 15:28:51 -04:00
Laura Abbott
8044841427 Add some weak-updates
Fedora doesn't use this at the moment but we might want it later.
Add support for weak module updates. This should have no affect.
2019-10-29 15:28:51 -04:00
Laura Abbott
c68fd73909 Add support for building ipaclones
While Fedora doesn't officially support kpatch, there's work
being done to enable kpatch elsewhere. Add the packaging work
but don't actually build anything.
2019-10-29 15:28:51 -04:00
Laura Abbott
1d23fdad0f Package selftests
It can be useful to have some of the selftests built for future
testing. Package them up but don't build quite yet.
2019-10-29 15:28:51 -04:00
Jeremy Cline
f16f4a5c11 Linux v5.4-rc5 2019-10-28 15:10:20 +00:00
Jeremy Cline
262dbe5b8d Disable debugging options. 2019-10-28 15:10:20 +00:00
Jeremy Cline
849afaa577 Linux v5.4-rc4-85-gf116b96685a0 2019-10-24 13:24:08 +00:00
Jeremy Cline
3d5297b163 Linux v5.4-rc4-37-g13b86bc4cd64 2019-10-23 13:40:57 +00:00
Jeremy Cline
82c9667fb9 Linux v5.4-rc4-18-g3b7c59a1950c 2019-10-22 14:03:39 +00:00
Jeremy Cline
3d03e88428 Reenable debugging options. 2019-10-22 13:50:07 +00:00
Laura Abbott
c08fbbf9f7 Update cross_headers commands
The kernel currently builds the headers in a separate repository but
rebuilds may want to build it from the same srpm. Make sure the
cross command actually works.
2019-10-22 08:43:38 -04:00
Laura Abbott
be43f9d094 Do a more complete she-bang mangling
mangle a few more files that other buildroots found
2019-10-22 08:43:38 -04:00
Laura Abbott
204759e479 Remove dead CheckConfigs 2019-10-22 08:43:38 -04:00
Laura Abbott
43d94d3476 Tweak some build requires
The gcc-plugin-devel was a noble experiment that doesn't seem to be
something we'll shipp anytime soon. Remove it.

Building the headers now requires rsync
2019-10-22 08:43:38 -04:00
Laura Abbott
ef71879e7a Bring back kernel-doc
Like a zombie, this is back from the grave. At least bring back the
macros for building.
2019-10-22 08:43:38 -04:00
Laura Abbott
48704bf821 Clean up some macros
- we sign modules on all arches now
- we zip modules on all arches
- tweak the comment
2019-10-22 08:43:37 -04:00
Laura Abbott
483dcef3b1 Consolodate cflags
The build flags for building are used inconsistently. Clean things up
to make it easier to understand.
2019-10-22 08:43:37 -04:00
Laura Abbott
9a4aee9f8d Add support for KCFLAGS
In preparation for some upcoming work, add support for passing KCFLAGS
via a macro that's currently undefined.
2019-10-22 08:43:37 -04:00
Laura Abbott
a17ef5964d Add support for building with gcov
gcov is useful for coverage testing. Add support for building the kernel.
2019-10-22 08:43:37 -04:00
Laura Abbott
f691fd9d87 Add DoModules to kernel build
There's upcoming work to build kernel variants without modules. Add
the infrastructure to support this.
2019-10-22 08:43:37 -04:00
Peter Robinson
5769e27048 aarch64: drop unrelated comment for a long upstreamed (Feb 2016) patch 2019-10-21 22:51:56 +01:00
Peter Robinson
2331b6cea5 aarch64: Jetson TX1: drop old patch no longer needed 2019-10-21 22:47:11 +01:00
Jeremy Cline
5ff50d0b22 Linux v5.4-rc4 2019-10-21 14:00:52 +00:00
Jeremy Cline
addab92228 Disable debugging options. 2019-10-21 13:52:30 +00:00
Jeremy Cline
d82fe1b5f1 Linux v5.4-rc3-99-g0e2adab6cf28 2019-10-18 14:23:40 +00:00
Jeremy Cline
743cfa0e88 Linux v5.4-rc3-18-g5bc52f64e884 2019-10-15 15:17:49 +00:00
Jeremy Cline
c579b07bb1 Reenable debugging options. 2019-10-15 15:11:25 +00:00
Peter Robinson
9f8bb9191f fix booting on ARMv7 due to OPTIMIZE_INLINING now being forced, drop old i.MX MMC patch, fix for UFEI on ARMv7 on some devices 2019-10-15 08:57:19 +01:00
Jeremy Cline
9e691ad13a Linux v5.4-rc3 2019-10-14 15:48:06 +00:00
Jeremy Cline
0b7fe8058b Disable debugging options. 2019-10-14 15:26:28 +00:00
Laura Abbott
bfc2ea1270 Drop old Input workaround
Based on comments from the authors, this should be worked around in
libinput now.
2019-10-14 10:03:12 -04:00
Jeremy Cline
b4ce63cb54 Linux v5.4-rc2-96-gfb20da6af705 2019-10-10 17:51:10 +00:00
Javier Martinez Canillas
89ddbf781a Enable CONFIG_EFI_TEST as a module (rhbz 1759325)
The driver is needed for testing purposes, enable it on the architectures
where EFI is supported. Also, disallow access to the registered device if
the kernel is locked down.
2019-10-10 09:55:31 -04:00
Laura Abbott
0367ea2bfd Add fix for mount api change on shmem (rhbz 1757104) 2019-10-08 13:23:13 -04:00
Jeremy Cline
391323a40e Linux v5.4-rc2-20-geda57a0e4299 2019-10-08 17:00:22 +00:00
Jeremy Cline
fb4a47e6a7 Reenable debugging options. 2019-10-08 16:55:17 +00:00
Laura Abbott
1bbfa3a13c Drop custom patch for i8042
Fedora has been carrying this patch for a very long time as
a workaround for MacBook Airs1,1. We've also gotten smarter
about detection (see d79e141c1c6e ("Input: i8042 - Trust
firmware a bit more when probing on X86")) so let's try
dropping this.
2019-10-07 14:08:24 -04:00
Laura Abbott
7d533eb54e Enable a few NFT options (rhbz 1651813) 2019-10-07 13:58:22 -04:00
Jeremy Cline
f35031adaa Linux v5.4-rc2 2019-10-07 15:09:34 +00:00
Jeremy Cline
8e8ff6c9e5 Disable debugging options. 2019-10-07 15:06:44 +00:00
Peter Robinson
6d5fda683b drop nouveau on Tegra210/GP10B as it breaks others platforms 2019-10-07 12:50:12 +01:00
Peter Robinson
5cbb392229 arm64: enable USB support on Jetson TX2 2019-10-06 14:47:24 +01:00
Peter Robinson
dc08c972db arm64: tegra: enabled nouveau on Jetson-TX2 2019-10-06 14:35:36 +01:00
Peter Robinson
12bb7973ef Fixes for Tegra Jetson TX1/TX2 series via max77620 2019-10-06 13:59:12 +01:00
Peter Robinson
426ebb7384 arm64: rockchip: Add some RockPro64 fixes 2019-10-06 13:28:50 +01:00
Jeremy Cline
f51db63777 Linux v5.4-rc1-14-gcc3a7bfe62b9 2019-10-04 14:53:07 +00:00
Jeremy Cline
9e3866f321 Reenable debugging options. 2019-10-04 14:51:57 +00:00
Jeremy Cline
5df4c5562f Rebase the lockdown sysrq patch to work with upstream
Upstream finally merged the lockdown patches, adjust the SysRq patch to
work with the upstreamed version.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
2019-10-02 20:11:04 +00:00
Jeremy Cline
c16b4f1acf Linux v5.4-rc1 2019-10-02 14:34:08 +00:00
Jeremy Cline
c2ad199666 Disable debugging options. 2019-10-02 14:34:08 +00:00
Jeremy Cline
e21e52b608 Linux v5.3-13236-g97f9a3c4eee5
This is a first pass at getting the secureboot patches working with the
upstream lockdown patches that got merged. The final patch from our
lockdown set is the sysrq patch which also needs work. For the present
it is not applied.
2019-10-01 14:20:23 +00:00
Jeremy Cline
08ea333f0b Linux v5.3-12397-gf41def397161 2019-09-26 15:47:45 +00:00
Jeremy Cline
456bb7df42 Linux v5.3-12289-g351c8a09b00b 2019-09-25 14:53:16 +00:00
Jeremy Cline
84b9af49cc Linux v5.3-12025-g4c07e2ddab5b 2019-09-24 17:50:27 +00:00
Peter Robinson
2fe857b25d add iwlwifi fix for 8000 series devices 2019-09-24 15:08:09 +01:00
Jeremy Cline
f628f023e1 Linux v5.3-11768-g619e17cf75dd 2019-09-23 19:06:55 +00:00
Jeremy Cline
8e2f53d725 Linux v5.3-10169-g574cc4539762 2019-09-20 16:21:37 +00:00
Jeremy Cline
75129cc8a4 Linux v5.3-7639-gb41dae061bbd 2019-09-19 21:09:49 +00:00
Jeremy Cline
e432a71879 Linux v5.3-3839-g35f7a9526615 2019-09-18 18:01:45 +00:00
Jeremy Cline
021611765e Linux v5.3-2061-gad062195731b 2019-09-17 21:22:39 +00:00
Jeremy Cline
fb222da551 Reenable debugging options. 2019-09-17 16:16:20 +00:00
Jeremy Cline
a08a03541f Drop drm-i915-hush-check-crtc-state.patch
This patch from 2013 stops the i915 driver from spitting out WARNs in
some cases, but nearly the same thing can be achieved with the
``verbose_state_checks=false`` module option added in 2014. With the
module setting the issue results in a log message at error level rather
than the debug level set by this patch. However, it's not known if this
is still a common issue. It seems worth the cost of (maybe) a few more
bug reports about new error-level logs to drop the patch.

To start with, we're going to leave ``verbose_state_checks=true`` (the
default), but if we run into a lot of WARNs we will turn it off.
2019-09-16 20:30:31 +00:00
Laura Abbott
124297ef77 Drop old WARN patch
We haven't applied the patch in a while now. Let's just drop it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 16:14:09 -04:00
Laura Abbott
5c0d4daff4 Remove crash driver
This has since been replaced by other in kernel pieces. We
can finally drop it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:52:39 -04:00
Laura Abbott
3e636fe3a6 Remove patch for GCC VTA
It's been years and gcc has changed a lot.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:52:39 -04:00
Laura Abbott
bde70da19c Remove old keyboard logging patch
Let's see if this results in flooding.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:52:39 -04:00
Laura Abbott
ddc01753a9 Remove some old modalias adjustments and move drivers
We've come a long way. Let's just leave these drivers alone.
Banish the drivers to mod-extra to ensure they really don't
get loaded.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:50:13 -04:00
Laura Abbott
3d246278f1 Drop old lis3 patch
We've been carrying this patch for years. If someone wants to
do the work to get it upstream, they are welcome to do so.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:43 -04:00
Laura Abbott
affb211a9a Remove ancient ath9k workaround
It's been years. Let's see if we actually still need this.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:43 -04:00
Laura Abbott
8cd931114e Drop scsi warning patch
It's been years since we've seen this warning. Just drop it.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:43 -04:00
Laura Abbott
9742e529b8 Drop cpumask auto select patch and set NR_CPUS appropriately
We've been carrying a patch to make CPUMASK_OFFSTACK selectable
without debugging for a long time now. The comment said this was
going to be replaced with something else but that never seemed
to happen. We're carrying it to have a higher number of CPUs but
at this point, adjusting NR_CPUS doesn't really get us that much
benfit. Drop the patch and just use 8192 or NR_CPUS on x86.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:48:39 -04:00
Laura Abbott
9a47638b3d Drop namespaces config tweak
We've come a long way for namespaces since 2013 and
all arches now enable namespaces. Drop the patch where
we can turn it off and on.

Signed-off-by: Laura Abbott <labbott@redhat.com>
2019-09-16 10:34:51 -04:00
Laura Abbott
a301534bfa Linux v5.3 2019-09-16 08:08:37 -04:00
Laura Abbott
0ceba001a5 Drop patch that was already applied 2019-09-10 09:39:16 +01:00
Laura Abbott
2e54842480 Linux v5.3-rc8 2019-09-10 09:34:54 +01:00
Laura Abbott
9df834407d Disable debugging options. 2019-09-10 09:34:54 +01:00
Peter Robinson
bff345a8a8 Add ACPI fixes plus a DT for qcom sd850 based Yoga C630 2019-09-06 09:37:18 +01:00
Laura Abbott
8a4687c244 Linux v5.3-rc7-2-g3b47fd5ca9ea 2019-09-05 10:53:16 -04:00
Laura Abbott
44fd540215 Reenable debugging options. 2019-09-05 10:51:51 -04:00
Laura Abbott
f637d98ba5 Linux v5.3-rc7 2019-09-03 07:50:53 -04:00
Laura Abbott
02d14b969c Disable debugging options. 2019-09-03 07:46:34 -04:00
Peter Robinson
4dbfff26bf drop old ApplyPatch logic as now eveything is done via git am 2019-09-02 20:57:53 +01:00
Peter Robinson
b5f1f90cb8 Upstream fix for WP detection on SD card 2019-08-29 18:01:39 +01:00
Laura Abbott
82cbb5a6a7 Linux v5.3-rc6-119-g9cf6b756cdf2 2019-08-29 09:22:53 -04:00
Laura Abbott
b7e0f13e15 Linux v5.3-rc6-115-g9e8312f5e160 2019-08-28 09:03:36 -04:00
Laura Abbott
be7a82b4a8 Reenable debugging options. 2019-08-28 09:00:59 -04:00
Laura Abbott
2fdc962749 Linux v5.3-rc6 2019-08-26 08:33:15 -04:00
Laura Abbott
cf82a100d1 Disable debugging options. 2019-08-26 08:08:12 -04:00
Peter Robinson
4919ac334f minor Arm cleanups 2019-08-25 18:44:48 +01:00
Laura Abbott
5d3d59393a Linux v5.3-rc5-224-gdd469a456047 2019-08-23 11:39:29 -07:00
Laura Abbott
264ee325d5 Linux v5.3-rc5-149-gbb7ba8069de9 2019-08-22 07:18:31 -07:00
Laura Abbott
3c5c69a0ee Reenable debugging options. 2019-08-22 07:05:54 -07:00
Laura Abbott
a16710fcba Linux v5.3-rc5 2019-08-19 06:16:12 -07:00
Laura Abbott
793dd19d3d Disable debugging options. 2019-08-19 06:08:47 -07:00
Laura Abbott
2c2a0daaaa Linux v5.3-rc4-71-ga69e90512d9d 2019-08-16 07:56:52 -04:00
Laura Abbott
38139e8bfe Linux v5.3-rc4-53-g41de59634046 2019-08-15 07:40:50 -04:00
Laura Abbott
9a56544597 Linux v5.3-rc4-4-gee1c7bd33e66 2019-08-14 11:00:39 -04:00
Laura Abbott
6aa44b71a7 Reenable debugging options. 2019-08-14 10:58:15 -04:00
Laura Abbott
2acd58de6b Remove copying of deleted file
Removed with 4ce97317f41d ("x86/purgatory: Do not use __builtin_memcpy
and __builtin_memset")
2019-08-13 11:04:28 -04:00
Laura Abbott
ae3e2e3835 Linux v5.3-rc4 2019-08-13 08:06:45 -04:00
Laura Abbott
f85cf1ad09 Disable debugging options. 2019-08-13 08:02:48 -04:00
Laura Abbott
c37e89654f Linux v5.3-rc3-282-g33920f1ec5bf 2019-08-07 12:21:01 +02:00
Laura Abbott
3166f3d037 Reenable debugging options. 2019-08-07 12:18:47 +02:00
Laura Abbott
b49cc14b37 Linux v5.3-rc3 2019-08-05 16:46:27 +02:00
Laura Abbott
c7aa2ae287 Disable debugging options. 2019-08-05 16:40:45 +02:00
Peter Robinson
977bfe032e fix mac on Jetson-TX2 NIC 2019-08-04 15:31:08 +01:00
Laura Abbott
ea5d2e52dc Linux v5.3-rc2-70-g1e78030e5e5b 2019-08-02 09:05:36 -04:00
Laura Abbott
5c2aa86a1d Linux v5.3-rc2-60-g5c6207539aea
Enable 8250 serial ports
2019-08-01 07:46:56 -04:00
Peter Robinson
adfbac47b6 Enable IMA Appraisal - related rhbz 790008 1554474 2019-07-31 13:58:31 +01:00
Laura Abbott
ffc1fce93e Linux v5.3-rc2-51-g4010b622f1d2 2019-07-31 07:53:47 -04:00
Laura Abbott
eb270ec831 Linux v5.3-rc2-11-g2a11c76e5301 2019-07-30 08:31:02 -04:00
Laura Abbott
1ec7f66dae Reenable debugging options. 2019-07-30 08:28:16 -04:00
Laura Abbott
28be16d99e Linux v5.3-rc2 2019-07-29 07:40:19 -04:00
Laura Abbott
c0122ac850 Disable debugging options. 2019-07-29 07:28:10 -04:00
Laura Abbott
5feabf6fff Linux v5.3-rc1-96-g6789f873ed37 2019-07-26 07:58:59 -04:00
Laura Abbott
cfda0d83c7 Linux v5.3-rc1-82-gbed38c3e2dca 2019-07-25 07:46:05 -04:00
Laura Abbott
8087534bf2 Linux v5.3-rc1-59-gad5e427e0f6b 2019-07-24 07:48:09 -04:00
Laura Abbott
75c686a437 Add scsi fix 2019-07-23 13:41:47 -04:00
Laura Abbott
b6bc920f00 Linux v5.3-rc1-56-g7b5cf701ea9c 2019-07-23 08:40:35 -04:00
Laura Abbott
a1d4d2b92c Reenable debugging options. 2019-07-23 08:37:08 -04:00
Laura Abbott
364bffc7b7 Linux v5.3-rc1 2019-07-21 17:53:59 -04:00
Laura Abbott
b121f57b17 Disable debugging options. 2019-07-21 17:42:12 -04:00
Peter Robinson
d7341fee1c Bug 1576593 - work around while vendor investigates arm builder LPAE HW issue 2019-07-19 18:51:33 +01:00