0cd38b5...
by
Stefan Bader
on 2020-07-22
UBUNTU: update dkms package versions
BugLink: https:/ /bugs.launchpad .net/bugs/ 1786013
Signed-off-by: Stefan Bader <email address hidden>
609f83f...
by
Kamal Mostafa
on 2020-07-21
UBUNTU: upstream stable to v4.19.133, v5.4.52
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
Ignore: yes
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
d2f5a52...
by
Vasily Gorbik <email address hidden>
on 2020-06-24
s390/maccess: add no DAT mode to kernel_write
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
[ Upstream commit d6df52e9996dcc2 062c3d9c9123288 468bb95b52 ]
To be able to patch kernel code before paging is initialized do plain
memcpy if DAT is off. This is required to enable early jump label
initialization.
Reviewed-by: Heiko Carstens <email address hidden>
Signed-off-by: Vasily Gorbik <email address hidden>
Signed-off-by: Heiko Carstens <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
61837fb...
by
Josh Poimboeuf
on 2020-04-29
s390: Change s390_kernel_write() return type to match memcpy()
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
[ Upstream commit cb2cceaefb4c4dc 28fc27ff1f1b2d2 58bfc10353 ]
s390_kernel_ write() 's function type is almost identical to memcpy().
Change its return type to "void *" so they can be used interchangeably.
Cc: <email address hidden>
Cc: <email address hidden>
Signed-off-by: Josh Poimboeuf <email address hidden>
Acked-by: Joe Lawrence <email address hidden>
Acked-by: Miroslav Benes <email address hidden>
Acked-by: Gerald Schaefer <email address hidden> # s390
Signed-off-by: Jiri Kosina <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
e9f7302...
by
=?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <email address hidden>
on 2020-07-10
pwm: jz4740: Fix build failure
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
When commit 9017dc4fbd59 ("pwm: jz4740: Enhance precision in calculation
of duty cycle") from v5.8-rc1 was backported to v5.4.x its dependency on
commit ce1f9cece057 ("pwm: jz4740: Use clocks from TCU driver") was not
noticed which made the pwm-jz4740 driver fail to build.
As ce1f9cece057 depends on still more rework, just backport a small part
of this commit to make the driver build again. (There is no dependency
on the functionality introduced in ce1f9cece057, just the rate variable
is needed.)
Signed-off-by: Uwe Kleine-König <email address hidden>
Reported-by: H. Nikolaus Schaller <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
a6c5064...
by
Adrian Hunter
on 2020-06-29
perf scripts python: exported- sql-viewer. py: Fix unexpanded 'Find' result
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
commit 3a3cf7c570a486b 07d9a6e68a77548 aea6a8421f upstream.
Using Python version 3.8.2 and PySide2 version 5.14.0, ctrl-F ('Find')
would not expand the tree to the result. Fix by using setExpanded().
Example:
$ perf record -e intel_pt//u uname
Linux
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.034 MB perf.data ]
$ perf script --itrace=bep -s ~/libexec/ perf-core/ scripts/ python/ export- to-sqlite. py perf.data.db branches calls
2020-06-26 15:32:14.928997 Creating database ...
2020-06-26 15:32:14.933971 Writing records...
2020-06-26 15:32:15.535251 Adding indexes
2020-06-26 15:32:15.542993 Dropping unused tables
2020-06-26 15:32:15.549716 Done
$ python3 ~/libexec/ perf-core/ scripts/ python/ exported- sql-viewer. py perf.data.db
Select: Reports -> Context-Sensitive Call Graph or Reports -> Call Tree
Press: Ctrl-F
Enter: main
Press: Enter
Before: line showing 'main' does not display
After: tree is expanded to line showing 'main'
Fixes: ebd70c7dc2f5f ("perf scripts python: exported- sql-viewer. py: Add ability to find symbols in the call-graph")
Signed-off-by: Adrian Hunter <email address hidden>
Cc: Jiri Olsa <email address hidden>
Cc: <email address hidden>
Link: http://<email address hidden>
Signed-off-by: Arnaldo Carvalho de Melo <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
c8fd41e...
by
Adrian Hunter
on 2020-06-29
perf scripts python: exported- sql-viewer. py: Fix zero id in call tree 'Find' result
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
commit 031c8d5edb1ddeb 6d398f7942ce2a0 1a1a51ada9 upstream.
Using ctrl-F ('Find') would not find 'unknown' because it matches id
zero. Fix by excluding id zero from selection.
Example:
$ perf record -e intel_pt//u uname
Linux
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.034 MB perf.data ]
$ perf script --itrace=bep -s ~/libexec/ perf-core/ scripts/ python/ export- to-sqlite. py perf.data.db branches calls
2020-06-26 15:32:14.928997 Creating database ...
2020-06-26 15:32:14.933971 Writing records...
2020-06-26 15:32:15.535251 Adding indexes
2020-06-26 15:32:15.542993 Dropping unused tables
2020-06-26 15:32:15.549716 Done
$ python3 ~/libexec/ perf-core/ scripts/ python/ exported- sql-viewer. py perf.data.db
Select: Reports -> Call Tree
Press: Ctrl-F
Enter: unknown
Press: Enter
Before: displays 'unknown' not found
After: tree is expanded to line showing 'unknown'
Fixes: ae8b887c00d3f ("perf scripts python: exported- sql-viewer. py: Add call tree")
Signed-off-by: Adrian Hunter <email address hidden>
Cc: Jiri Olsa <email address hidden>
Cc: <email address hidden>
Link: http://<email address hidden>
Signed-off-by: Arnaldo Carvalho de Melo <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
052304c...
by
Adrian Hunter
on 2020-06-29
perf scripts python: exported- sql-viewer. py: Fix zero id in call graph 'Find' result
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
commit 7ff520b0a71dd2d b695b52ad117d81 b7eaf6ff9d upstream.
Using ctrl-F ('Find') would not find 'unknown' because it matches id zero.
Fix by excluding id zero from selection.
Example:
$ perf record -e intel_pt//u uname
Linux
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.034 MB perf.data ]
$ perf script --itrace=bep -s ~/libexec/ perf-core/ scripts/ python/ export- to-sqlite. py perf.data.db branches calls
2020-06-26 15:32:14.928997 Creating database ...
2020-06-26 15:32:14.933971 Writing records...
2020-06-26 15:32:15.535251 Adding indexes
2020-06-26 15:32:15.542993 Dropping unused tables
2020-06-26 15:32:15.549716 Done
$ python3 ~/libexec/ perf-core/ scripts/ python/ exported- sql-viewer. py perf.data.db
Select: Reports -> Context-Sensitive Call Graph
Press: Ctrl-F
Enter: unknown
Press: Enter
Before: gets stuck
After: tree is expanded to line showing 'unknown'
Fixes: 254c0d820b86d ("perf scripts python: exported- sql-viewer. py: Factor out CallGraphModelB ase")
Signed-off-by: Adrian Hunter <email address hidden>
Cc: Jiri Olsa <email address hidden>
Cc: <email address hidden>
Link: http://<email address hidden>
Signed-off-by: Arnaldo Carvalho de Melo <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
e607782...
by
Adrian Hunter
on 2020-06-29
perf scripts python: export- to-postgresql. py: Fix struct.pack() int argument
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
commit 640432e6bed08e9 d5d2ba26856ba3f 55008b07e3 upstream.
Python 3.8 is requiring that arguments being packed as integers are also
integers. Add int() accordingly.
Before:
$ perf record -e intel_pt//u uname
$ perf script --itrace=bep -s ~/libexec/ perf-core/ scripts/ python/ export- to-postgresql. py perf_data_db branches calls
2020-06-25 16:09:10.547256 Creating database...
2020-06-25 16:09:10.733185 Writing to intermediate files...
Traceback (most recent call last):
File "/home/ ahunter/ libexec/ perf-core/ scripts/ python/ export- to-postgresql. py", line 1106, in synth_data
cbr(id, raw_buf)
File "/home/ ahunter/ libexec/ perf-core/ scripts/ python/ export- to-postgresql. py", line 1058, in cbr
value = struct. pack("! hiqiiiiii" , 4, 8, id, 4, cbr, 4, MHz, 4, percent)
struct.error: required argument is not an integer
Fatal Python error: problem in Python trace event handler
Python runtime state: initialized
Current thread 0x00007f35d3695780 (most recent call first):
<no Python frame>
Aborted (core dumped)
After:
$ dropdb perf_data_db
$ rm -rf perf_data_ db-perf- data
$ perf script --itrace=bep -s ~/libexec/ perf-core/ scripts/ python/ export- to-postgresql. py perf_data_db branches calls
2020-06-25 16:09:40.990267 Creating database...
2020-06-25 16:09:41.207009 Writing to intermediate files...
2020-06-25 16:09:41.270915 Copying to database...
2020-06-25 16:09:41.382030 Removing intermediate files...
2020-06-25 16:09:41.384630 Adding primary keys
2020-06-25 16:09:41.541894 Adding foreign keys
2020-06-25 16:09:41.677044 Dropping unused tables
2020-06-25 16:09:41.703761 Done
Fixes: aba44287a224 ("perf scripts python: export- to-postgresql. py: Export Intel PT power and ptwrite events")
Signed-off-by: Adrian Hunter <email address hidden>
Cc: Jiri Olsa <email address hidden>
Cc: <email address hidden>
Link: http://<email address hidden>
Signed-off-by: Arnaldo Carvalho de Melo <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>
0dd6520...
by
Michal Suchanek
on 2020-06-30
dm writecache: reject asynchronous pmem devices
BugLink: https:/ /bugs.launchpad .net/bugs/ 1888429
commit a46624580376a3a 0beb218d94cbc7f 258696e29f upstream.
DM writecache does not handle asynchronous pmem. Reject it when
supplied as cache.
Link: https://<email address hidden>/
Fixes: 6e84200c0a29 ("virtio-pmem: Add virtio pmem driver")
Signed-off-by: Michal Suchanek <email address hidden>
Acked-by: Mikulas Patocka <email address hidden>
Cc: <email address hidden> # 5.3+
Signed-off-by: Mike Snitzer <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>