From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id A7F2B3870C0B for ; Tue, 7 May 2024 16:34:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A7F2B3870C0B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A7F2B3870C0B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::430 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715099647; cv=none; b=MMlbJ9YYXz9R1u8+KEm5GG9IDokFGqkdyQjiJcCXYbPYc4RvR22PN9jl+O6uND/hdQRFjBDZsOY41jmxscIrjwjeIZGttbtshGUXTNQdqyrseRbNmWnRLvr1ZBSttf7GvX56n+qthGBFM0+wM35qrPGgIMxuiu5yNrjYmlzxjBQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715099647; c=relaxed/simple; bh=iy4b5eg0z9wrzudOfEn/vegry6q27tv32ErujftpGts=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=hcFFisnVGYcLRq2l8BGaIZTGzbeU15DNVo59dFxHB9c15/c1A+JvWJGW/lISVlUQx+jq7YrnGk1FAatI70NexAIaCSAP2krRJKVStg/wTXcw7RilmHxL9iBNJtaPTMGUUjUnfj5NaGpQFwORKA8MZRvWtCoUK2SFUz9unMX8z7A= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-6f460e05101so2134681b3a.1 for ; Tue, 07 May 2024 09:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715099644; x=1715704444; darn=sourceware.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=EXOFPyf8stkBswCwOvaaySKDEEmwvqKae3caf3RzwPw=; b=cEsnFKJriicQvSrnZ/4i88dG9H7xZNKsqI1MKAdV0nKStcpDlEPrYGqrxkWrprllo5 yyWYnCh8sYX3/Mp5PKDoIFJq7dLblsL2FnjXyTFDk70a9Otd5pSh2bGsFHNULUsh3sX6 gbAUd3ynw/uQrtECPSlezokOfeNiS8fEzuzYDq0kK9RA8qbz0uTZx8djdgc4vXlSgHXP 4xF1Vzc3YyVPwYZ1AgO/dvZe5vhvuRkfxbd/C+RmyXN4YJJBp7IYXb+oxkdOvOBCPFFg otF/+2c2Cs3t2YFFSWAEGEuuaXi9bK3azFySvJpi+vnfnlBmsXC4cpsia8l6sBzEDQRM 9H5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715099644; x=1715704444; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EXOFPyf8stkBswCwOvaaySKDEEmwvqKae3caf3RzwPw=; b=rjbcqMvtL6E4LUlAAiu58/7yVIerYEabQYhuMJsx3N1TZYUWlF04AFKKG2Ch1NgmVO mIBjTNnsQErd1JC+MY1ZlCh58OVqEUf6rNdhAcjWjF4trjYzgEemIQYkFUODS6zpK89A HhLVVWMPjn3OKEvzaLsLDjVQDJPrFJGprDAxQvntcuDnElji9AMTnZs2Tc2uWb+TrOTc 1ieYtuZibw94Cb1SAOnxwqQ5xoGY82vnj88iMt+jiR7ENtnwGl8mXtpSqNNK+suuQ4BY 5xg1lckZoowdJXYI8csVaCGKTPdNGgt+UWZS5VjBC25tKQccd6AszKqT5oosqQnG/BSL Erpg== X-Forwarded-Encrypted: i=1; AJvYcCVrEj2H/2E/s2+BshdASU9FKlxhO1KJHI3MbFpu1JingC6fEZA1p/wO9jRCzg553sK2eYqT+dhxM1a5gwSnv3DCpIBVblMZNzHpsA== X-Gm-Message-State: AOJu0Yx2GZtuOkqSkYLHi1V+2QChfFZuQCPdV7o2pbFobCuOSQEErqoa /kx4Wffc721hNStAnIuL16wr+3ltM+lM3tnAowq0NK+um3jNbiHMipKb0eRW+ek= X-Google-Smtp-Source: AGHT+IEvrg3+uXCCSsa3QUoE6NnuNprPRbHv6zFHDwe9lBn3c3nVx3kndJO1Qq+K5b1qcv33d5+xTQ== X-Received: by 2002:a05:6a00:14ce:b0:6ed:825b:30c0 with SMTP id d2e1a72fcca58-6f48e911960mr4618520b3a.15.1715099644337; Tue, 07 May 2024 09:34:04 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:5041:7288:f81a:8f8f]) by smtp.gmail.com with ESMTPSA id fj36-20020a056a003a2400b006e72c8ece23sm9613474pfb.191.2024.05.07.09.34.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 09:34:03 -0700 (PDT) From: Thiago Jung Bauermann To: Luis Machado Cc: "Willgerodt, Felix" , "gdb-patches@sourceware.org" Subject: Re: [PATCH v3 0/8] gdbserver improvements for AArch64 SVE support In-Reply-To: <4d5ffba6-4f8c-418d-ad29-67b5b95c7bd9@arm.com> (Luis Machado's message of "Tue, 7 May 2024 15:43:55 +0100") References: <20230130044518.3322695-1-thiago.bauermann@linaro.org> <4d5ffba6-4f8c-418d-ad29-67b5b95c7bd9@arm.com> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Tue, 07 May 2024 13:34:01 -0300 Message-ID: <8734qth98m.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello Felix, Hello Luis, Luis Machado writes: > Hi, > > On 5/7/24 15:29, Willgerodt, Felix wrote: >>> -----Original Message----- >>> From: Gdb-patches >> bounces+felix.willgerodt=intel.com@sourceware.org> On Behalf Of Thiago Jung >>> Bauermann via Gdb-patches >>> >>> This is version 3 of the patch series adding support to gdbserver for >>> inferiors that change the SVE vector length at runtime. This is already >>> supported by GDB, but not by gdbserver. Version 2 was posted here: >> >> I wonder what happened to this series. Do you plan to revive it at some >> point? I realise this isn't an easy series to land. Tough it would be great >> to have in my view. > > I think it is an essential piece to make gdbserver work correctly for both > SVE and SME (and similar features on other architectures), as well as enabling > remote debugging stubs to support vector size changes mid-execution. > > Thiago was the last one to touch this code, so he may have better information on > future plans. > > Unfortunately I don't have cycles to get back to this particular feature at the > moment, but I'd gladly review future iterations of the series. Thank you for your interest in this series! I think it's very important too, and it nags me that I haven't been able to finish it yet. I gave up on the approach from this patch series, which was to have a different target description for each register size, which implies a different target description for each inferior thread. I have a branch where I implemented support in the XML target description to specify a register whose size is given by a math expression involving other registers. This way, a single target description is enough for the whole duration of the inferior execution, and for all inferior threads. But it still has significant bugs, and only occasionally I have been able to get back to it and try to move it forward. I pushed what I have to the sve-tdesc-dynamic-size branch at this repo, if you would like to have a look: https://git.linaro.org/people/thiago.bauermann/binutils-gdb.git If you "git diff 1bdabb9e9fe8../sve-tdesc-dynamic-size" you can see the code. I think I will be able to work on it again in a month or two. If you think my approach is good and the branch is a good starting point for you, feel free to work on it. I'd be happy to collaborate. -- Thiago