[PATCH stable 4.9 00/21] Unbreak 32-bit DVB applications on 64-bit kernels

From: Florian Fainelli
Date: Fri Jun 05 2020 - 12:25:58 EST


Hi all,

This long patch series was motivated by backporting Jaedon's changes
which add a proper ioctl compatibility layer for 32-bit applications
running on 64-bit kernels. We have a number of Android TV-based products
currently running on the 4.9 kernel and this was broken for them.

Thanks to Robert McConnell for identifying and providing the patches in
their initial format.

In order for Jaedon's patches to apply cleanly a number of changes were
applied to support those changes. If you deem the patch series too big
please let me know.

Thanks

Colin Ian King (2):
media: dvb_frontend: ensure that inital front end status initialized
media: dvb_frontend: initialize variable s with FE_NONE instead of 0

Jaedon Shin (3):
media: dvb_frontend: Add unlocked_ioctl in dvb_frontend.c
media: dvb_frontend: Add compat_ioctl callback
media: dvb_frontend: Add commands implementation for compat ioct

Katsuhiro Suzuki (1):
media: dvb_frontend: fix wrong cast in compat_ioctl

Mauro Carvalho Chehab (14):
media: dvb/frontend.h: move out a private internal structure
media: dvb/frontend.h: document the uAPI file
media: dvb_frontend: get rid of get_property() callback
media: stv0288: get rid of set_property boilerplate
media: stv6110: get rid of a srate dead code
media: friio-fe: get rid of set_property()
media: dvb_frontend: get rid of set_property() callback
media: dvb_frontend: cleanup dvb_frontend_ioctl_properties()
media: dvb_frontend: cleanup ioctl handling logic
media: dvb_frontend: get rid of property cache's state
media: dvb_frontend: better document the -EPERM condition
media: dvb_frontend: fix return values for FE_SET_PROPERTY
media: dvb_frontend: be sure to init dvb_frontend_handle_ioctl()
return code
media: dvb_frontend: fix return error code

Satendra Singh Thakur (1):
media: dvb_frontend: dtv_property_process_set() cleanups

.../media/uapi/dvb/fe-get-property.rst | 7 +-
drivers/media/dvb-core/dvb_frontend.c | 571 +++++++++++------
drivers/media/dvb-core/dvb_frontend.h | 13 -
drivers/media/dvb-frontends/lg2160.c | 14 -
drivers/media/dvb-frontends/stv0288.c | 7 -
drivers/media/dvb-frontends/stv6110.c | 9 -
drivers/media/usb/dvb-usb/friio-fe.c | 24 -
fs/compat_ioctl.c | 17 -
include/uapi/linux/dvb/frontend.h | 592 +++++++++++++++---
9 files changed, 881 insertions(+), 373 deletions(-)

--
2.17.1