[PATCH] virtiofsd: Add `sigreturn` to the seccomp whitelist

2022-11-25 Thread Marc Hartmayer
bexec/virtiofsd" sig=31 arch=8016 syscall=119 compat=0 ip=0x3fff15f748a code=0x8000AUID="unset" UID="root" GID="root" ARCH=s390x SYSCALL=sigreturn Signed-off-by: Marc Hartmayer --- tools/virtiofsd/passthrough_seccomp.c | 1 + 1 file cha

Re: [Virtio-fs] [PATCH] virtiofsd: Add `sigreturn` to the seccomp whitelist

2022-11-28 Thread Marc Hartmayer
German Maglione writes: > On Fri, Nov 25, 2022 at 3:40 PM Marc Hartmayer wrote: >> >> The virtiofsd currently crashes on s390x. This is because of a >> `sigreturn` system call. See audit log below: >> >> type=SECCOMP msg=audit(1669382477.611:459): auid=42949672

Re: [PATCH] virtiofsd: Add `sigreturn` to the seccomp whitelist

2022-11-29 Thread Marc Hartmayer
"Dr. David Alan Gilbert" writes: > * Marc Hartmayer (mhart...@linux.ibm.com) wrote: >> The virtiofsd currently crashes on s390x. This is because of a >> `sigreturn` system call. See audit log below: >> >> type=SECCOMP msg=audit(1669382477.611:459): auid=4294

Re: [PATCH] virtiofsd: Add `sigreturn` to the seccomp whitelist

2022-11-29 Thread Marc Hartmayer
Christian Borntraeger writes: > Am 29.11.22 um 10:52 schrieb Christian Borntraeger: >> >> >> Am 29.11.22 um 10:42 schrieb Dr. David Alan Gilbert: >>> * Marc Hartmayer (mhart...@linux.ibm.com) wrote: >>>> "Dr. David Alan Gilbert" writes:

Re: [Virtio-fs] [PATCH] virtiofsd: Add `sigreturn` to the seccomp whitelist

2022-12-01 Thread Marc Hartmayer
German Maglione writes: > On Mon, Nov 28, 2022 at 10:00 AM Marc Hartmayer > wrote: >> >> German Maglione writes: >> >> > On Fri, Nov 25, 2022 at 3:40 PM Marc Hartmayer >> > wrote: >> >> >> >> The virtiofsd currently crashes

Re: [PATCH] system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add()

2024-04-26 Thread Marc Hartmayer
On Fri, Nov 03, 2023 at 01:56 PM +0300, Dmitrii Gavrilov wrote: > Original goal of addition of drain_call_rcu to qmp_device_add was to cover > the failure case of qdev_device_add. It seems call of drain_call_rcu was > misplaced in 7bed89958bfbf40df what led to waiting for pending RCU callbacks >

Re: [PATCH] system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add()

2024-04-26 Thread Marc Hartmayer
On Fri, Apr 26, 2024 at 11:57 AM +0300, Dmitrii Gavrilov wrote: > 26.04.2024, 11:17, "Marc Hartmayer" : > > On Fri, Nov 03, 2023 at 01:56 PM +0300, Dmitrii Gavrilov > wrote: > > Original goal of addition of drain_call_rcu to qmp_device_add was to c

Re: [PATCH v1 1/1] pc-bios/s390-ccw: fix sclp_get_loadparm_ascii

2019-11-28 Thread Marc Hartmayer
((char *)_sccb, 0, sizeof(ReadInfo)); > -sccb->h.length = sizeof(ReadInfo); > +sccb->h.length = SCCB_SIZE; > if (!sclp_service_call(SCLP_CMDW_READ_SCP_INFO, sccb)) { > ebcdic_to_ascii((char *) sccb->loadparm, loadparm, LOADPARM_LEN); > } > -- > 2.7.4

[PATCH] s390x/ipl: support extended kernel command line size

2021-11-22 Thread Marc Hartmayer
o, so with older kernels this field would read zero and we must then assume that only 896 bytes are available. Acked-by: Viktor Mihajlovski Signed-off-by: Marc Hartmayer --- hw/s390x/ipl.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/hw/s390x/ipl.c

Re: [PATCH] s390x/ipl: support extended kernel command line size

2021-11-22 Thread Marc Hartmayer
David Hildenbrand writes: > On 22.11.21 12:29, Marc Hartmayer wrote: >> In the past s390 used a fixed command line length of 896 bytes. This has >> changed >> with the Linux commit 5ecb2da660ab ("s390: support command lines longer than >> 896 >> bytes"

[PATCH] s390x/ipl: check kernel command line size

2021-10-06 Thread Marc Hartmayer
Check if the provided kernel command line exceeds the maximum size of the s390x Linux kernel command line size, which is 896 bytes. Reported-by: Sven Schnelle Signed-off-by: Marc Hartmayer --- hw/s390x/ipl.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hw

Re: [PATCH 02/13] s390_flic: add migration-enabled property

2024-05-16 Thread Marc Hartmayer
_active_state=0x3ff73efb67c) at ../migration/migration.c:2710 #18 migration_completion (s=0x2aa3625d1f0) at ../migration/migration.c:2774 #19 migration_iteration_run (s=0x2aa3625d1f0) at ../migration/migration.c:3198 #20 migration_thread (opaque=opaque@entry=0x2aa3625d1f0) at ../migration/migration.c:

Re: [PATCH] hw/intc/s390_flic: Fix crash that occurs when saving the machine state

2024-05-17 Thread Marc Hartmayer
the > user tries to save or migrate the VM state. Fix it by using s390_get_flic() > to get the correct device here instead. > > Reported-by: Marc Hartmayer > Fixes: 9d1b0f5bf5 ("s390_flic: add migration-enabled property") > Signed-off-by: Thomas Huth > --- > hw/i

Re: [PATCH] s390x/ipl: check kernel command line size

2021-10-11 Thread Marc Hartmayer
Thomas Huth writes: > On 06/10/2021 11.26, Marc Hartmayer wrote: >> Check if the provided kernel command line exceeds the maximum size of the >> s390x >> Linux kernel command line size, which is 896 bytes. >> >> Reported-by: Sven Schnelle >> Signed-off-b

Re: [PATCH v6 02/10] dump: Write ELF section headers right after ELF header

2022-10-17 Thread Marc Hartmayer
Janosch Frank writes: > Let's start bundling the writes of the headers and of the data so we > have a clear ordering between them. Since the ELF header uses offsets > to the headers we can freely order them. > > Signed-off-by: Janosch Frank > --- > dump/dump.c | 31 ++---

Re: [PATCH v6 02/10] dump: Write ELF section headers right after ELF header

2022-10-17 Thread Marc Hartmayer
Janosch Frank writes: > On 10/17/22 14:49, Marc Hartmayer wrote: >> Janosch Frank writes: >> >>> Let's start bundling the writes of the headers and of the data so we >>> have a clear ordering between them. Since the ELF header uses offsets >&

Re: [PATCH v2 2/4] pc-bios/s390-ccw: Provide space for initial stack frame in start.S

2023-06-27 Thread Marc Hartmayer
macro for this - e.g. STACK_FRAME_SIZE. Besides that, Reviewed-by: Marc Hartmayer > > /* clear bss */ > larl%r2,__bss_start > -- > 2.39.3 > -- Kind regards / Beste Grüße Marc Hartmayer IBM Deutschland Research &

Re: [PATCH v4 2/5] s390x: switch pv and subsystem reset ordering on reboot

2023-08-31 Thread Marc Hartmayer
mmand 4 (KVM_PV_VERIFY) failed: header rc 102 rrc 1b IOCTL rc: -22 Protected boot has failed: 0xa02 -- Kind regards / Beste Grüße Marc Hartmayer IBM Deutschland Research & Development GmbH Vorsitzender des Aufsichtsrats: Gregor Pillen Geschäftsführung: David Faller Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294

[Qemu-devel] [Bug 1788582] [NEW] Race condition during shutdown

2018-08-23 Thread Marc Hartmayer
Public bug reported: I ran into a bug when I started several VMs in parallel using libvirt. The VMs are using only a kernel and a initrd (which includes a minimal OS). The guest OS itself does a 'poweroff -f' as soon as the login prompt shows up. So the expectaction is that the VMs will start, the

Re: [Qemu-devel] [libvirt] Question about the host-model CPU mode

2017-10-20 Thread Marc Hartmayer
On Thu, Oct 12, 2017 at 02:07 PM +0200, Jiri Denemark wrote: > On Mon, Oct 09, 2017 at 10:16:48 +0200, Marc Hartmayer wrote: >> On Thu, Oct 05, 2017 at 02:11 PM +0200, Jiri Denemark >> wrote: >> > But it's going to be a bit complicated because we ask QEMU what

Re: [Qemu-devel] [PATCH/QEMU] s390x/kvm: use cpu_model_available for guarded storage on compat machines

2017-10-25 Thread Marc Hartmayer
sistent host-model copy option? So > instead of copying at every start, only copy and replace it once in the XML? > > Easy to specify by the user and no CPU feature changes will happend > "blindly". > > > -- > > Thanks, > > David > -- Beste Grüße / Kind regards Marc Hartmayer IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294

Re: [PATCH 2/2] libvhost-user: handle endianness as mandated by the spec

2020-08-21 Thread Marc Hartmayer
On Mon, Aug 03, 2020 at 11:26 AM +0200, Cornelia Huck wrote: > On Thu, 30 Jul 2020 16:07:31 +0200 > Marc Hartmayer wrote: > >> Since virtio existed even before it got standardized, the virtio >> standard defines the following types of virtio devices: >> >>

[RFC 0/4] Enable virtio-fs on s390x

2020-06-25 Thread Marc Hartmayer
ardev=char0,tag=myfs \ -drive if=virtio,file=disk.qcow2 \ -m 2G -smp 2 -nographic Log into the guest and mount it $ mount -t virtiofs myfs /mnt Halil Pasic (1): virtio: add vhost-user-fs-ccw device Marc Hartmayer (3): libvhost-user: print invalid address on vu_panic libvhost-user: h

[RFC 4/4] HACK: Hard-code the libvhost-user.o-cflags for s390x

2020-06-25 Thread Marc Hartmayer
This patch exists only to show the actual problem that libvhost-user and it's users are architecture dependent as soon as we're trying to support legacy virtio. Signed-off-by: Marc Hartmayer --- Makefile.objs | 1 + contrib/libvhost-user/libvhost-ac

[RFC 1/4] virtio: add vhost-user-fs-ccw device

2020-06-25 Thread Marc Hartmayer
From: Halil Pasic Wire up the CCW device for vhost-user-fs. Signed-off-by: Halil Pasic --- hw/s390x/Makefile.objs | 1 + hw/s390x/vhost-user-fs-ccw.c | 74 2 files changed, 75 insertions(+) create mode 100644 hw/s390x/vhost-user-fs-ccw.c diff --git

[RFC 3/4] libvhost-user: handle endianness as mandated by the spec

2020-06-25 Thread Marc Hartmayer
andle virtio endianness as required by the virtio specification [1]. [1] https://docs.oasis-open.org/virtio/virtio/v1.1/cs01/virtio-v1.1-cs01.html#x1-210003 Signed-off-by: Marc Hartmayer --- contrib/libvhost-user/libvhost-access.h | 88 + contrib/libvhost-user/libvhost-u

[RFC v2 0/3] Enable virtio-fs on s390x

2020-07-17 Thread Marc Hartmayer
uot;: replace qdev_set_parent_bus and object_property_set_bool by qdev_realize + patch "libvhost-user: handle endianness as mandated by the spec": Drop support for legacy virtio devices + add patch to fence legacy virtio devices Halil Pasic (1): virtio: add vhost-user-fs-ccw dev

[RFC v2 3/3] libvhost-user: fence legacy virtio devices

2020-07-17 Thread Marc Hartmayer
libvhost-user has no support for legacy virtio devices therefore let's fence them. Signed-off-by: Marc Hartmayer --- contrib/libvhost-user/libvhost-access.h | 10 ++ contrib/libvhost-user/libvhost-user.c | 6 ++ 2 files changed, 16 insertions(+) diff --git a/contrib/lib

[RFC v2 1/3] virtio: add vhost-user-fs-ccw device

2020-07-17 Thread Marc Hartmayer
From: Halil Pasic Wire up the CCW device for vhost-user-fs. Signed-off-by: Halil Pasic --- hw/s390x/Makefile.objs | 1 + hw/s390x/vhost-user-fs-ccw.c | 73 2 files changed, 74 insertions(+) create mode 100644 hw/s390x/vhost-user-fs-ccw.c diff --git

[RFC v2 2/3] libvhost-user: handle endianness as mandated by the spec

2020-07-17 Thread Marc Hartmayer
andle virtio endianness for non-legacy as required by the virtio specification [1]. We will fence non-legacy virtio devices with the upcoming patch. [1] https://docs.oasis-open.org/virtio/virtio/v1.1/cs01/virtio-v1.1-cs01.html#x1-210003 Signed-off-by: Marc Hartmayer --- Note: As we don'

Re: [RFC v2 2/3] libvhost-user: handle endianness as mandated by the spec

2020-07-28 Thread Marc Hartmayer
On Tue, Jul 21, 2020 at 06:44 PM +0200, Halil Pasic wrote: > On Tue, 21 Jul 2020 09:40:10 -0400 > "Michael S. Tsirkin" wrote: > >> On Fri, Jul 17, 2020 at 11:29:28AM +0200, Marc Hartmayer wrote: >> > Since virtio existed even before it got standardized, th

Re: [RFC v2 2/3] libvhost-user: handle endianness as mandated by the spec

2020-07-29 Thread Marc Hartmayer
On Wed, Jul 29, 2020 at 10:13 AM -0400, "Michael S. Tsirkin" wrote: > On Tue, Jul 28, 2020 at 12:52:11PM +0200, Marc Hartmayer wrote: >> On Tue, Jul 21, 2020 at 06:44 PM +0200, Halil Pasic >> wrote: >> > On Tue, 21 Jul 2020 09:40:10 -0400 >> > &qu

Re: [RFC v2 2/3] libvhost-user: handle endianness as mandated by the spec

2020-07-30 Thread Marc Hartmayer
On Tue, Jul 21, 2020 at 01:48 PM +0100, Stefan Hajnoczi wrote: > On Fri, Jul 17, 2020 at 11:29:28AM +0200, Marc Hartmayer wrote: >> Since virtio existed even before it got standardized, the virtio >> standard defines the following types of virtio devices: >> >> + le

[PATCH 2/2] libvhost-user: handle endianness as mandated by the spec

2020-07-30 Thread Marc Hartmayer
andle virtio endianness for non-legacy as required by the virtio specification [1]. The fencing of legacy virtio devices is done in `vu_set_features_exec`. [1] https://docs.oasis-open.org/virtio/virtio/v1.1/cs01/virtio-v1.1-cs01.html#x1-210003 Signed-off-by: Marc Hartmayer --- contrib/libvhost

[PATCH 0/2] Enable virtio-fs on s390x

2020-07-30 Thread Marc Hartmayer
-ccw device": replace qdev_set_parent_bus and object_property_set_bool by qdev_realize + patch "libvhost-user: handle endianness as mandated by the spec": Drop support for legacy virtio devices + add patch to fence legacy virtio devices *** BLURB HERE *** Halil Pasic (1): virtio: add

[PATCH 1/2] virtio: add vhost-user-fs-ccw device

2020-07-30 Thread Marc Hartmayer
From: Halil Pasic Wire up the CCW device for vhost-user-fs. Signed-off-by: Halil Pasic --- hw/s390x/Makefile.objs | 1 + hw/s390x/vhost-user-fs-ccw.c | 75 2 files changed, 76 insertions(+) create mode 100644 hw/s390x/vhost-user-fs-ccw.c diff --git

Re: [PATCH 2/2] libvhost-user: handle endianness as mandated by the spec

2020-08-03 Thread Marc Hartmayer
On Sun, Aug 02, 2020 at 01:13 AM -0400, "Michael S. Tsirkin" wrote: > On Thu, Jul 30, 2020 at 04:07:31PM +0200, Marc Hartmayer wrote: >> Since virtio existed even before it got standardized, the virtio >> standard defines the following types of virtio devices: >>

[RFC 2/4] libvhost-user: print invalid address on vu_panic

2020-06-25 Thread Marc Hartmayer
This can be helpful for debugging. Signed-off-by: Marc Hartmayer --- contrib/libvhost-user/libvhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/libvhost-user/libvhost-user.c b/contrib/libvhost-user/libvhost-user.c index d315db139606..9e8750a9dabc 100644

[PATCH] pc-bios/s390-ccw: don't try to read the next block if end of chunk is reached

2021-04-16 Thread Marc Hartmayer
Don't read the block if a null block number is reached, because this means that the end of chunk is reached. Reviewed-by: Collin Walling Signed-off-by: Marc Hartmayer --- pc-bios/s390-ccw/bootmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc-bios/s390-ccw/bootma

Re: [PATCH v2 2/2] s390x: pv: Fix diag318 PV fencing

2020-10-22 Thread Marc Hartmayer
On Thu, Oct 22, 2020 at 06:31 AM -0400, Janosch Frank wrote: > Diag318 fencing needs to be determined on the current VM PV state and > not on the state that the VM has when we create the CPU model. > > Signed-off-by: Janosch Frank > Reported-by: Marc Hartmayer > Fixes: fabdad

[Qemu-devel] [Bug 1788582] Re: Race condition during shutdown

2019-04-15 Thread Marc Hartmayer
It was fixed with commit 4cf077b59fc73eec29f8b7 (see patch series https://lists.gnu.org/archive/html/qemu-block/2018-09/msg00504.html). -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1788582 Title:

[PATCH 1/3] pc-bios/s390-ccw: fix off-by-one error

2020-09-24 Thread Marc Hartmayer
;) Reviewed-by: Collin Walling Signed-off-by: Marc Hartmayer --- pc-bios/s390-ccw/bootmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc-bios/s390-ccw/bootmap.c b/pc-bios/s390-ccw/bootmap.c index 97205674e59a..0d29dceaa3cc 100644 --- a/pc-bios/s390-ccw/bootmap.c ++

[PATCH 2/3] pc-bios/s390-ccw: break loop if a null block number is reached

2020-09-24 Thread Marc Hartmayer
Break the loop if `cur_block_nr` is a null block number because this means that the end of chunk is reached. In this case we will try to boot the default entry. Fixes: ba831b25262a ("s390-ccw: read stage2 boot loader data to find menu") Reviewed-by: Collin Walling Signed-off-by: Marc

[PATCH 0/3] pc-bios: s390x: fix corner cases in booting from ECKD

2020-09-24 Thread Marc Hartmayer
ere is a branch: https://gitlab.com/mhartmay/qemu/-/tree/bios_fixes Marc Hartmayer (3): pc-bios/s390-ccw: fix off-by-one error pc-bios/s390-ccw: break loop if a null block number is reached pc-bios/s390-ccw: Update s390-ccw.img bios binary pc-bios/s390-ccw.img | Bin 42608 -> 42608 bytes

[PATCH 3/3] pc-bios/s390-ccw: Update s390-ccw.img bios binary

2020-09-24 Thread Marc Hartmayer
Contains the fixes "pc-bios/s390-ccw: fix off-by-one error" and "pc-bios/s390-ccw: break loop if a null block number is reached". Signed-off-by: Marc Hartmayer --- pc-bios/s390-ccw.img | Bin 42608 -> 42608 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 1/3] pc-bios/s390-ccw: fix off-by-one error

2020-09-24 Thread Marc Hartmayer
On Thu, Sep 24, 2020 at 12:02 PM +0200, Philippe Mathieu-Daudé wrote: > Hi Marc, > > On 9/24/20 10:59 AM, Marc Hartmayer wrote: >> This error takes effect when the magic value "zIPL" is located at the >> end of a block. For example if s2_cur_blk = 0x7fe18000 a

Re: [PATCH 2/3] pc-bios/s390-ccw: break loop if a null block number is reached

2020-09-24 Thread Marc Hartmayer
On Thu, Sep 24, 2020 at 01:49 PM +0200, Thomas Huth wrote: > On 24/09/2020 10.59, Marc Hartmayer wrote: >> Break the loop if `cur_block_nr` is a null block number because this >> means that the end of chunk is reached. In this case we will try to >> boot the defaul

[PATCH] meson: vhost-user-gpu/virtiofsd: use absolute path

2020-11-03 Thread Marc Hartmayer
move directory options from config-host.mak to meson") Signed-off-by: Marc Hartmayer --- contrib/vhost-user-gpu/meson.build | 2 +- tools/virtiofsd/meson.build| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/vhost-user-gpu/meson.build b/contrib/vhos

Re: [PATCH] meson: vhost-user-gpu/virtiofsd: use absolute path

2020-11-03 Thread Marc Hartmayer
On Tue, Nov 03, 2020 at 12:23 PM +0100, Marc Hartmayer wrote: > The option `libexecdir` is relative to `prefix` (see > https://mesonbuild.com/Builtin-options.html), so we have to be aware > of this when creating 50-qemu-gpu.json and > 50-qemu-virtiofsd.json. Otherwise, tools like

Re: [PATCH] meson: vhost-user-gpu/virtiofsd: use absolute path

2020-11-03 Thread Marc Hartmayer
On Tue, Nov 03, 2020 at 12:55 PM +0100, Paolo Bonzini wrote: > On 03/11/20 12:28, Marc Hartmayer wrote: >> On Tue, Nov 03, 2020 at 12:23 PM +0100, Marc Hartmayer >> wrote: >>> The option `libexecdir` is relative to `prefix` (see >>> https://mesonbuild.com/Bui

[PATCH v2 2/2] libvhost-user: handle endianness as mandated by the spec

2020-09-01 Thread Marc Hartmayer
n.org/virtio/virtio/v1.1/cs01/virtio-v1.1-cs01.html#x1-210003 Reviewed-by: Michael S. Tsirkin Signed-off-by: Marc Hartmayer --- contrib/libvhost-user/libvhost-user.c | 77 +++ 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/contrib/libvhost-user/libvhost-user

[PATCH v2 1/2] virtio: add vhost-user-fs-ccw device

2020-09-01 Thread Marc Hartmayer
From: Halil Pasic Wire up the CCW device for vhost-user-fs. Reviewed-by: Cornelia Huck Signed-off-by: Halil Pasic --- hw/s390x/meson.build | 1 + hw/s390x/vhost-user-fs-ccw.c | 75 2 files changed, 76 insertions(+) create mode 100644 hw/s390x/vho

[PATCH v2 0/2] Enable virtio-fs on s390x

2020-09-01 Thread Marc Hartmayer
patch "libvhost-user: handle endianness as mandated by the spec": Drop support for legacy virtio devices + add patch to fence legacy virtio devices Halil Pasic (1): virtio: add vhost-user-fs-ccw device Marc Hartmayer (1): libvhost-user: handle endianness as m

Re: [PATCH v1 0/3] pc-bios/s390-ccw: Small Makefile improvements

2024-10-02 Thread Marc Hartmayer
On Wed, Oct 02, 2024 at 11:57 AM +0200, Thomas Huth wrote: > On 01/10/2024 17.36, Marc Hartmayer wrote: >> >> Jens Remus (2): >>pc-bios/s390-ccw: Clarify alignment is in bytes >>pc-bios/s390-ccw: Don't generate TEXTRELs >> >> Marc Hart

[PATCH v1 3/3] pc-bios/s390-ccw: Introduce `EXTRA_LDFLAGS`

2024-10-01 Thread Marc Hartmayer
Some packaging tools want to override `LDFLAGS` when building QEMU, this will result in a build error as most likely no `-nostdlib` flag is passed. Introduce `EXTRA_LDFLAGS` so that the packager can override `LDFLAGS` without breaking the build. Signed-off-by: Marc Hartmayer --- Note: Normally

[PATCH v1 1/3] pc-bios/s390-ccw: Clarify alignment is in bytes

2024-10-01 Thread Marc Hartmayer
request is in bytes. No functional change. [1] https://sourceware.org/binutils/docs/as/Align.html [2] https://sourceware.org/binutils/docs/as/Balign.html Signed-off-by: Jens Remus Reviewed-by: Marc Hartmayer --- pc-bios/s390-ccw/start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH v1 2/3] pc-bios/s390-ccw: Don't generate TEXTRELs

2024-10-01 Thread Marc Hartmayer
e that the R_390_RELATIVE relocations are taken care of by function glue() in include/hw/elf_ops.h.inc introduced by commit 5dce07e1cb67 ("elf-loader: Provide the possibility to relocate s390 ELF files"). Reported-by: Marc Hartmayer Signed-off-by: Jens Remus Reviewed-by: Marc Hartmayer

[PATCH v1 0/3] pc-bios/s390-ccw: Small Makefile improvements

2024-10-01 Thread Marc Hartmayer
Jens Remus (2): pc-bios/s390-ccw: Clarify alignment is in bytes pc-bios/s390-ccw: Don't generate TEXTRELs Marc Hartmayer (1): pc-bios/s390-ccw: Introduce `EXTRA_LDFLAGS` pc-bios/s390-ccw/netboot.mak | 2 +- pc-bios/s390-ccw/Makefile| 5 +++-- pc-bios/s390-ccw/start.S