Re: [PATCH 5.4 00/93] 5.4.263-rc2 review

From: Harshit Mogalapalli
Date: Tue Dec 05 2023 - 02:13:28 EST


Hi Greg,

On 05/12/23 10:07 am, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 5.4.263 release.
There are 93 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Thu, 07 Dec 2023 04:35:52 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.263-rc2.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.

thanks,

greg k-h

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Fix async branch flags

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf intel-pt: Adjust sample flags for VM-Exit

^^^ these both commits causing:

util/intel-pt.c: In function ‘intel_pt_sample_flags’:
util/intel-pt.c:1004:38: error: ‘const struct intel_pt_state’ has no member named ‘from_nr’; did you mean ‘from_ip’?
1004 | else if (ptq->state->from_nr && !ptq->state->to_nr)
| ^~~~~~~
| from_ip
util/intel-pt.c:1004:60: error: ‘const struct intel_pt_state’ has no member named ‘to_nr’
1004 | else if (ptq->state->from_nr && !ptq->state->to_nr)
| ^~
util/intel-pt.c:1007:38: error: ‘PERF_IP_FLAG_VMEXIT’ undeclared (first use in this function); did you mean ‘PERF_IP_FLAG_IN_TX’?
1007 | PERF_IP_FLAG_VMEXIT;
| ^~~~~~~~~~~~~~~~~~~
| PERF_IP_FLAG_IN_TX


I have reverted these locally and then one more build failure

Adrian Hunter <adrian.hunter@xxxxxxxxx>
perf inject: Fix GEN_ELF_TEXT_OFFSET for jit

^^^ This is causing:

In file included from util/jitdump.c:28:
util/genelf.h:5:10: fatal error: linux/math.h: No such file or directory
5 | #include <linux/math.h>
| ^~~~~~~~~~~~~~
compilation terminated.

Reverting this as well, fixes the perf build.

Thanks,
Harshit