Closed JFriesz closed 1 year ago
For the next 13MD05-90 release, "Yocto - Kirkstone - Kernel 5.15 64Bit (LTS)" support is demanded. If it is too much work, we may postpone this requirement.
We actually have this compilation issue in more components. I've run a complete test for Linux 5.15 and all these failed:
jorge@jorge-Latitude-5530:~/Work/MDIS/mdis_test_system/MDIS_Compilation_Test/test/MDIS_Test/MDIS_Compilation/Results/2022_12_12_14_53_19/5.15_dbg$ cat TestResults.log | grep FAILED
Makefile.13Z055-90 FAILED
Makefile.13Z025-90 FAILED
Makefile.13M077-90 FAILED
Makefile.mdis_VME_16Z002 FAILED
Makefile.mdis_VME_16Z002_tsi148 FAILED
Makefile.13Z001-90 FAILED
Makefile.13Z055-90.log Makefile.13Z025-90.log Makefile.13M077-90.log Makefile.mdis_VME_16Z002.log Makefile.mdis_VME_16Z002_tsi148.log Makefile.13Z001-90.log
I have fixed the compilation issue of M077.
From kernel version v5.13 the support for Cyclades devices was removed from the kernel tree.
commit f76edd8f7ce06cdff2fe5b6b39a49644c684a161
Author: Jiri Slaby <jirislaby@kernel.org>
Date: Tue Mar 2 07:21:35 2021 +0100
tty: cyclades, remove this orphan
The Cyclades driver was orphaned by commit d459883e6c54 (MAINTAINERS:
remove two dead e-mail) 13 years ago. Noone stepped up to take care of
them and to fix all the issues the driver has.
On the top of that, there is no way to obtain the firmware for Z cards
from the vendor as cyclades.com ceased to exist.
So it's time to drop the driver with all its traces.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-5-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
The error was caused because the macro MEN_UART_MAJOR was not defined.
A Pull Request has been created to fix it.
I have fixed the compilation issues for components:
The field was renamed in v5.14. So the fix consist on renaming the field in the same way.
commit 2f064a59a11ff9bc22e52e9678bc601404c7cb34
Author: Peter Zijlstra <peterz@infradead.org>
Date: Fri Jun 11 10:28:17 2021 +0200
sched: Change task_struct::state
Change the type and name of task_struct::state. Drop the volatile and
shrink it to an 'unsigned int'. Rename it in order to find all uses
such that we can use READ_ONCE/WRITE_ONCE as appropriate.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20210611082838.550736351@infradead.org
Additionally, as it is mentioned in the commit message, the access to __state field is made using the macros READ_ONCE() and WRITE_ONCE()
Pull Requests associated:
I have fixed the compilation error for component:
The support for legacy IDE was removed from kernel in v5.14.
commit b7fb14d3ac63117e0e8beabe75f4ea52051fbe3a
Author: Christoph Hellwig <hch@lst.de>
Date: Wed Jun 16 15:46:58 2021 +0200
ide: remove the legacy ide driver
The legay ide driver has been replace with libata starting in 2003 and has
been scheduled for removal for a while. Finally kill it off so that we
can start cleaning up various bits of cruft it forced on the block layer.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Z025 never used the ide.h so we have removed it.
We can consider this issue as finished so we will launch the compilation and functional testing.
The build breaks for kernel version >=5.14
I noticed these deprecated calls / files during building for 5.15.76:
13Z025/men_z25_serial.c:33
#include <linux/ide>
=> linux/ide has been removedZ001_SMB/z001_smb.c:130
current->state = TASK_INTERRUPTIBLE;
=> can probably be replaced byWRITE_ONCE(current->__state, TASK_INTERRUPTIBLE);
for >=5.14There might be more, as my Makefile only included the following: