cdfcefda4702e39e6d8534fcf5a548eb8ec11167
877025
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
cdfcefda47 |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-display into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-display: Revert "disp: msm: use vzalloc for large allocations" disp/msm/dsi:enabel ESD te check for video panel disp/msm/dsi:support to config glbl_hstx_str_ctrl_0 for mipi driver strength disp: msm: use vzalloc for large allocations disp: msm: sde: fix RM poll timeouts during PM suspend/resume usecase disp: msm: avoid BW down vote after splash memory release disp: msm: dsi: Only enable lanes required during phy enable disp: msm: sde: while timing engine enabling poll for active region [PATCH] disp: msm: sde: remove panic from autorefresh disable sequence drm/dsi_panel: send specific demura command when bl change drm/msm/dsi-staging: add default brightness property kernel/display:hawao+oled:change lcm timing HAWAO+OLED: solve mipi driver strength weak problem kernel/display:hawao+oled:change lcm timing Revert "HAWAO+OLED:solve mipi driver strength weak problem" HAWAO+OLED: solve mipi driver strength weak problem disp: msm: Fixing motUtil tool for ACL feature drm: Add the panel color feature for game mode drm: Add the DC panel param feature display: Modify the lcd reset gpio pin. Fix: display blinking issue propagation: panel: add ft8006s special reset timing control display: support ft8006s panel brightness level special align [Guam NA] Fix propagation error in dsi_display.c kernel:dsi: ESD te support for video mode panel kernel:dsi: backlight update for hbm gpio kernel:dsi: backlight update for hbm gpio kernel: dsi: rst pull down config update kernel: dsi: tp_rst seq update kernel: dsi: enable tp_rst & esd fail logs Capri beingup kernel: dsi: add new backlight device to avoid conflict kernel: dsi: download touch firmware after panel reset msm/dsi: add panel tp rst configs kernel: dsi: pull down reset pin when shutdown dsi: add new backlight control type I2C drm/msm/sde: limit the backlight min brightness as bl_min_level Kernel: read panel supplier from device tree disp: msm: Parsing and store panel's 0xDA register info dsi_panel: fix out-of-bounds issue backlight: support device hbm use 51 cmd backlight: add hbm gpio control driver msm/dsi: add backlight and hbm debug log msm/dsi: set brightness at maximum if enabling LCD HBM dsi_panel: Check the return status of the touch screen drm/panel_param: optimize the code Display PanelMode: Add CABC control msm: dsi_panel: refresh rate config option msm: dsi_panel: refresh rate config option disp: msm: Correct DSC 1.1 Rate control for Max val dsi: pushing display notifications Revert"disp:msm:sde: update splash resource allocation for dual display" disp: msm: Restore old backlight setting after exitting HBM disp: msm:: reset the param value to the default value disp: msm: support for HBM_FOD mode disp: msm: add display frequency change notification Revert "Revert "disp: msm: sde: update splash resource allocation for dual display"" Kernel/Display: mot extend code: get lcd para Kernel/display: mot extend - early power Kernel: Add Moto extern display code disp: msm: implement xxx-hbm-is-51cmd dts entry disp: msm: fix checking returned value of xx_cmd_transfer disp: msm: Register for reboot_notifier disp: msm: Support ACL when setting panel param disp: msm: Enable "val" to control HBM property disp: msm: dsi: Reducing logging in dsi_panel.c disp: msm: dsi: Add print info for DSI_CTRL disp: msm : Add the ACL panel param feature disp: msm: Populate the passing panel's info from BL. disp: msm: Set panel enable_status during probing disp: msm: Add panel name to enable status API disp: msm: Report panel's probe status disp: msm: provide API to query for panel enable state disp: msm: Correct the panel's LP11_INIT disp: msm: Adding KMS property testing for motUtil tool disp: msm: add panel's param feature to display FW disp: msm: Provide a dynamic method to disable the ESD. disp: msm: Add DispUtil tool to motUtil Debugfs disp: msm: sde: Add motUtil Debugfs framework disp: msm: dsi: Raise BUG for continous panel recovery failure disp: msm: dsi: Trigger ESD event if display isn't on disp: msm: dsi: Check panel's power_mode during resume disp: msm: dsi: parsing BL setting ESD and panel disp: msm: sde: Change display ESD checking interval to 8s disp: msm: dsi: add prints for DSI/panel turning off/on disp: msm: dsi: Add "bl_ctrl_dummy" to panel bl type disp: msm: dsi: Add support display 2bytes brightness. guam: input add drm support input add touch support disp: msm: sde: synx: Add quic copyright disp: msm: sde: handle partial update transitions in rounded corner. Revert "disp: msm: sde: handle partial update transitions in rounded corner". disp: msm: sde: handle partial update transitions in rounded corner disp: msm: sde: clear partial update mask during last close Conflicts: techpack/display/msm/msm_drv.c techpack/display/msm/msm_drv.h Change-Id: I40dab2ee196d87f2d24439d5b4e7c4cd14b7051d |
||
|
|
e0d512421b |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-camera into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-camera: Low flashlight brightness bugfix devon4g: read sensorid failed,but return success devon: Add retries for sensor id matching devon: Actuator noise reduction hawao: Fix flash compatible rhode: Del an invalid log hawao: Actuator noise reduction Rhode: Actuator noise reduction hawao: Flash compatible rhode: Actuator noise reduction Rhode: flash node control Rhode: add flash current ma control Rhode: flash bring up(2/3) Rhode4G: main eeprom bring up(3/3) Caprip: add wakelock for the actuator noise reduction. cam: Add actuator standalone diver for vibrator. guamna:[camera] Fix capture failed when set exposure time 1s msm: camera: req_mgr: Decrease device handles in hdl_tbl guamna: Add eeprom operation READ_LOOP guamna: add eeprom name and add hi556 otp read method guam: EXPORT_SYMBOL cam_cci_get_subdev Conflicts: techpack/camera-bengal/drivers/cam_req_mgr/cam_req_mgr_util.c techpack/camera-bengal/drivers/cam_sensor_module/cam_flash/Makefile Change-Id: I141fc90b9c8f08ea3e2f2e38d73f1e91c03d9ad6 |
||
|
|
70b29d0d24 |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-audio-kernel into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-audio-kernel: ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm capture copy dsp: q6adm: Resolve mem corruption in adm cb dsp: afe: check for param size before copying asoc: update q6afe for aw882xx mbhc: set the type to lineout when zl or zr is zero. asoc: update aw882xx driver to v1.9.0.9 asoc: change linein threshold asoc: update aw88261 driver's spin relase function asoc: devon support get awinic skt params from ram audio-kernel: enable CONFIG_AW882XX_MAPSIZE_16K for rhode audio-kernel: enlarge map size for aw882xx algo asoc: audio:update aw882xx driver to v1.9.0.7 asoc: upgrade aw88261 driver to v1.9.0.6 asoc: fix wcd937x build error audio: wcd937x_slave: Add retry while getting logical addr for wcd937x slave audio-kernel: modify rcv and spk smartpa config audio-kernel: devon fix build error audio-kernel: devon audio bring up asoc: upgrade aw88261 driver to v1.9.0.5 asoc:update aw88261 spin config asoc:remove debug info for aw88261 asoc:upgrade aw88261 driver to v 1.9.0.4 asoc:upgrade aw88261 driver to v1.9.0.3 hawaii OLED: hawao audio bringup hawaii OLED: hawao audio bringup asoc:upgrade aw88261 driver to v1.9.0.2 asoc:upgrade aw88261 driver to v1.9 debug version rhode:mbhc:enable moisture detect for rhode rhode: audio: update awinic smartpa driver to V1.8.0.1 rhode: audio: enable aw882xx algo param store in aw_skt.bin asoc:update audio config for rhode mbhc:disable moisture detect for rhode asoc:init rhode audio asoc:add aw88261 codec driver asoc: Add fs1818 support for guamp/guamna ASoC: update aw882xx driver to v0.1.17 update aw882xx driver to v0.1.16 soc: soundwire: Update hw_ctl on HCLK at bootup asoc:Enable necessary log for mbhc Audio bringup: asoc: add aw882xx support Conflicts: techpack/audio/asoc/codecs/Kbuild techpack/audio/asoc/msm-pcm-host-voice-v2.c techpack/audio/dsp/q6adm.c Change-Id: Ia248afaace87b74c0003a41fd7c8087e5c77e8dd |
||
|
|
1f7dfe294b |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-wlan-qcacld-3.0 into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-wlan-qcacld-3.0: qcacld-3.0: Ignore CSA request for invalid channel Revert "qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr" qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr qcacld-3.0: Fix OOB in wma_scan_roam.c qcacld-3.0: Success return from dynamic nss chain support check for 1x1 Report the actual link speed by default qcacld-3.0: Update VHT IE with highest supported LGI rate qcacld-3.0: Reset the wiphy suspended flag at the end of SSR Export correct ELF file for Odessa Support loading moto specific ini configurations qcacld-3.0: Advertise Adaptive 11R supported feature to user space Handle invalid TWT value correctly. qcacld-3.0: Validate TWT setup cmd/request type value Revert "(CR) use bt_coex_mode_set to deterministically signify the DHCP start / Stop" fix wlan fw path error prop (CR)-Fill the MAC address more appropriately lito: Update FW version for R - Update wifimacaddr command line arg add wifi tx pwr limit cmd for mimo device use bt_coex_mode_set to deterministically signify the DHCP start / Stop Store WLAN Unstripped and ELF in build archives Disable CH14 for JAPAN Prop (CR): Store WLAN Unstripped in build archives generate 2 mac address based on serial number demsg error logs cleaup prop (CR) Dont initialise ACL list Restructure (CR): Use copy_from_user function get correct tx power from ioctl Prop (CR) WLAN Clark Enable extended iwpriv cmnds prop (CR)-Allow ioctl called from Motcode (CR):Not able to disconnect any connected device Fix iwpriv panic prop (CR): Add new sysfs entries for SAR cutback Resolve compilation issues update NOTICE for vendor/qcom/opensource/wlan/qcacld-3.0$ prop (CR)-Support STA+MHS concurrency mode Rework reading MAC address from UTAG WLAN: Implement reading of MAC address from UTAG for sm6150 prop (CR)-Support for 12M WLAN Radiated Power test Change-Id: If34d1ac59e6ed2eb1baf7437e4ea23284ee5cfb7 |
||
|
|
cfafab850e |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-wlan-qca-wifi-host-cmn into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-wlan-qca-wifi-host-cmn: qcacmn: Add a tid check for RX to avoid of OOB access qcacmn: Fix possible OOB write in extract_time_sync_ftm_offset_event_tlv Disable 5 Ghz for Guam qcacmn: Vendor specific feature capability for Adaptive 11r Rav/sofia/Astro: enable one image for NA and ROW add NOTICE for vendor/qcom/opensource/wlan/qca-wifi-host-cmn Modify PNO timers. Support for 12M WLAN Radiated Power test on Production SW Conflicts: drivers/staging/qca-wifi-host-cmn/dp/wifi3.0/dp_rx.c drivers/staging/qca-wifi-host-cmn/dp/wifi3.0/dp_stats.c Change-Id: Iebf277cd5d616a8edab3fcb3cf0b12a0c9a5f279 |
||
|
|
923eae1bbf |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-camera-devicetree into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-camera-devicetree: arm64/dts: rhode: fixed 3rd app capture failure devon: Fix flash request GPIO-85 failed arm64/dts: devon: macro ov02b10 eeprom bring up(1/2) arm64/dts: devon: Actuator noise reduction. devon4g: camera flash bringup devon4g: camera actuator bringup devon4g: camera eeprom bringup devon4g: camera sensor bringup arm64/dts: hawao: remove duplicate gpio group Revert "(CR): arm64/dts: Devon: s5kjn1 bring up" :Revert "(CR): arm64/dts: devon: hi1634q bring up" arm64/dts: devon: hi1634q bring up arm64/dts: Devon: s5kjn1 bring up arm64/dts: hawao: Actuator noise reduction. arm64/dts: hawao: Flash compatible arm64/dts: rhode: main camera probe failed arm64/dts: rhode: Actuator noise reduction. arm64/dts rhode: slove the problem that open camera reboot arm64/dts: hawao: Add flash led ocp81373 dtsi arm64/dts: hawao: Change macro avdd ldo arm64/dts: hawao: AF bringup for s5kjn1 arm64/dts: hawao: Add front camera eeprom dtsi arm64/dts: hawao: Add macro camera eeprom dtsi arm64/dts: hawao: Add wide camera eeprom dtsi arm64/dts: hawao: Add main camera eeprom dtsi arm64/dts: hawao: Add macro camera dtsi arm64/dts: hawao: Add wide camera dtsi arm64/dts: hawao: Add front camera dtsi arm64/dts: hawao: Add main camera dtsi Rhode: wide & macro flash bring up (1/2) arm64/dts: add flash dtsi arm64/dts: rhode: Compatible with ldo fan53870 arm64/dts: rhode: dvt camera compatible arm64/dts: Fork new dtbo for Rhode4G EVT hardware. arm64/dts rhode: solve the camera open failed arm64/dts Rhode4G: camera bringup arm64/dts Rhode4G: Add dtsi for macro eeprom arm64/dts: Rhode4G: wide eeprom bring up(2/2) fix input touch gpio arm64/dts: Rhode4G: main eeprom bring up(2/3) arm64/dts Rhode4G: main af bring up(2/2) arm64/dts Rhode4G: Add devicetree for Rhode front camera ov16a1q eeprom(2/2) arm64/dts: Add devicetree for Rhode front camera sensor ov16a1q. arm64/dts: Rhode4G: add macro camera dtsi arm64/dts: Rhode4G: add wide camera dtsi(2/2) arm64/dts: Rhode4G: add main camera dtsi(2/2) arm64/dts: Add AF power control into sensor power sequence. arm64/dts: Add multi user support flag. arm64/dtsi: chang GM1 CCI speed Caprip and carpi SAT function crash Caprip and carpi: marco camera and wide camera con control flash Caprip: modify caprip front camera dvdd arm64/dts: caprip bringup front/rear subdev arm64/dts: caprip bring up eeprom. arm64/dts: Caprip bring up sensors. arm64/dts: bring up 4h7 Flash. arm64/dts: bring up capri sensors. setup camera baseline for capri/capri+ arm/dts: borneo: improve RF desense cebu: dtsi add camera basic config arm/dts: borneo: increase MCLK driver strength guamna: add front camera eeprom dts arm/dt: borneo: change macro sensor oriention from 270 to 90. arm/dt: borneo: modify camera pinctrl config. arm/dts: guamna: update flash node arm/dts: guamna: add camera dtsi file arm/dt: borneo: config camera dts arm/dt: guamp: modify ov02b10 sensor-position-roll arm/dt: guamp: modify camera dts arm/dt: guamp: add flash node for ov02b10 arm/dt: guam: add ob02b1b otp dts guamp: arm64/dtsi add rear depth camera otp guamp: arm64/dtsi add rear macro camera eeprom guamp: arm64/dtsi add rear macro camera ov02b10 guamp: arm64/dtsi add rear depth camera ov02b1b arm/dt: guam/guamp: add 4h7 eeprom dts arm/dt: guamp: add 4h7 dtsi arm/dt: guam/guam+: add eeprom dts guam: dtsi add ov02b1b sensor driver arm/dt: guam: add 4h7 dtsi arm/dt: guam: add camera dts arm/dt: guamp: modify main camera dts arm/dt: guamp: add camera dtsi Change-Id: I7671f68143b6dd345213f200e9db150b5c3a8a85 |
||
|
|
fc6ec02886 |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-devicetree into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-devicetree: add new battery SB18E10846 arm/dts:Bring up charger IC SGM41543D [dts]Add new channelID for China Broadnet (CBN) : [dts] Add new channelId for DoCoMo and New Zealand. arm/dts: ensure that the current reported is a positive value Revert "(CR):arm/dts:Bring up charger IC SGM41543D" rhode - Invert the charging logic rhode/devon/hawao - Invert the charging logic dts: Add new channelId for PUB devon: update camera device tree path hawao: update camera device tree path rhode: update camera device tree path Revert "(CR):dts/panel:HAWAO: 3rd_lcm change porch+initcode to solve desense" New channel ID for LGU+ customization dts: Add new channelIds for Demo Mode New channel ID for Ymobile customization mipi 60 hz fail fix timing dts/panel: rhode: modify csot 4th panel name devon:change factory charging limitation. connect 33W charger, the power is only 2.5W dts/panel:HAWAO: 3rd_lcm change porch+initcode to solve desense display: Modify DC parameters rhode display: Modify DC parameters rhode dts/Devon4G:2nd txd ili panel enable ulps when power off dts/panel:devon 3rd txd ft panel power sequence update dts/panel:devon:2nd txd ili panel power sequence update display: add panel dtsi for rhode hawao+oled 2nd_lcm solve splashscreen dts/Devon4G:2nd txd panel update max display brightness for PVT rt9471 not charge 3min during a complete charging test TP bring up[1/2] TP bring up[2/4] dtsi:support FFC and nonFFC for devon4G. dts/Devon4G:3rd panel add focaltech report gesture config dts/Devon4G:3rd panel configs with different OTP data for PVT dts/Devon4G:add PVT dts to support different disp configs for DVT/PVT Devon4G:seperated DVT2/DVT1 sar firmware devon:no charging after quick plugging usb dts/panel:devon 2nd txd panel init cmd update for ESD HAWAO+OLED 2nd_lcm visionox+rm disable esd_check dts/panel:devon 3rd txd FT panel decrease display on delay time dts/panel:devon 2nd txd panel decrease display on delay time dts/panel:devon 1st tm panel decrease display on delay time dts/panel:devon 1st NVT panel add wait when single tap DUT keeps vibrating after connecting to computer via USB dts/panel:devon 3rd: rename ft panel file dts/devon:3rd focaltech panel:gesture support arm/dts: Devon support get awinic skt params from ram arm64/dts:rhode enable aw882xx get algo params from ram arm64/dts:hawao enable aw882xx get algo params from ram dts/devon:1st/2nd panels: enable tp state check for gesture arm/dts: display: add panel dtsi for rhode dts/panel:devon 3rd init codes update for goa timing add 2nd battery profile arm/dts: add pd vdm verify IIO channel dts/panel:devon update 1st tm panel ESD parameters dts/panel:devon display power sequence update devon:update battery charaging parameters dts/panel:devon 3rd panel update init code for 90Hz & bl dts/panel: devon 1st tm mipi clk & driver strength update for RF arch/dts:devon 3rd focaltech touch driver bringup dtsi:change main charger cv voltage. dtsi: devon/usb: update USB eye diagram tunning kernel/dts: devon 3rd txd+ft panel display driver bringup devon:add rt9471 charger Hawao+oled:kernel/2nd lcm change initcode to solve splashscreen problem arm/dts:Bring up charger IC SGM41543D kernel/dts:devon display support backlight exponential mode dtsi: devon/usb: update USB eye diagram tunning arm64/dts: hawao: Add qupv3_se4_i2c to critical devices list Devon:seperated DVT1/DVT2 sar sensor firmware dtsi:add sys temp node for Devon. dtsi:add sys temp node for hawao. kernel/hawao_lcm 2nd change porch to solve descense problem dtsi:devon4G battery,charge setting. rename bq2597x to cp. arm/dts:Rename the bq2597x cp name hawao+oled: fg 1st(cw2217) change to 99 ,2nd(sm5602) change to 98 devon:charger bring up Devon:Bringup Egistec FPS ETS_617 kernel/dts:hawao:add panel supplier info Revert "(CR):dtsi:use temp solution for adb." kernel/dts:/devon:2nd backlight IC lm3697 reg update kernel/dts:/devon:2nd backlight IC lm3697 bringup kernel/dts:devon:enable backlight IC pwm mode to support HBM kernel/display:hawao+oled:change lcm_2nd reset-sequence kernel/dts:devon:enable display ESD check kernel/dts:devon:2nd txd panel enable cabc kernel/dts:devon:1st tm panel enable cabc kernel/display:hawao+oled:change 2nd lcm porch value kernel/display:hawao+oled:change 4th lcm init code kernel/display:hawao+oled:change 1st lcm porch timing value dtsi:use temp solution for adb. devon:charger bring up devon:charger bring up devon:charger bring up devon:charger bring up dtsi:update sm5602 battery parameter. devon:charger bring up devon:charger bring up dtsi:initial dtsi config. dts:change UI 100% conf. Bringup FPC Fingerprint(4) kernel/dts:hawao:1st tm panel support high refresh rate 90Hz kernel/dts:hawao:2nd txd: support high refresh rate 90Hz kernel/display:hawao+oled:3rd panel:update init cmd per spec req kernel/display:hawao+oled:change 4th lcm timing sequence Hawao+oled: fix sm5602 fuelgauge atl battery soc jump from 100 to 6 devon: st21nfc bring up (4) kernel/display:hawao+oled:change 2nd lcm timing sequence kernel/display:hawao+oled:change 3rd lcm timing sequence kernel/lcm: 4th EDO lcm init code update to enable demura kernel/dts: devon nvt & ilitek touch driver bringup Kernel/dts:devon:1st tm/2nd txd display driver bringup dtsi:change factory charging limitation. arm/dtsi: modify rcv and spk smartpa config dts:devon:sgm7220 bring up devon: vib bring up devon4g: camera sensor bringup Hawaii+ OLED:fpsensor chipone enable power control dtsi:set UI 100 SOC for cw. arm/dtsi: devon audio bring up devon:sensors bringup arm64/dts: make adb works for devon bringup Hawao+oled: set shutdown volt 3.4v Rhode: update tp spi max frequency to 9600000 kernel/dts:hawao: 3rd panel update mipi timing arm64/dts: add devon devicetree dtsi:update hb inteval time for hawao arm/dts: panel: add OD code for tianma nt37701 6.55 inch panel kernel/dts:hawao:1st/3rd improve:add no-panel-on-read config kernel/dts:hawao:2nd:update rm692c9 panel timing kernel/dts:4th panel: fix black issue when screen on kernel/dts:4th panel:disable esd check when bringup dtsi: modify heartbeat polling time Rhode: TP: focal ic bringup: fix TP_INT pin gpio kernel/dts:hawao: 1st panel update mipi timing Rhode: TP: focal ic bringup :add focal devicetree dtsi:OTG current to 1.2A kernel/dts:4th edo sd panel display driver bringup dtsi:Preload ATL battery profile for local Brazilian Source dtsi:Hawao change new battery parameters for SM5602. arm/dts: display: add panel dtsi for rhode Hawaii+oled: chipone fingerprint disable power control qc3p begin charging voltage to 3V dtsi:sm5602 fg match 1st and 2nd battery profile. arm/dts: panel: modify tianma nt37701 6.55 v1 and v2 panel code Hawaii+OLED: usb eye photo change DC voltage kernel/dts:hawao+oled:change lcm timing kernel/dts:hawao+oled:change lcm timing rhode: DTS:Modify the lcd driver for rhode. arm/dts: sm5602 fg support muti-battery parameter for rhode Revert "(CR): arm/dts: sm5602 fg support muti-battery parameter for rhode" arm/dts: sm5602 fg support muti-battery parameter for rhode kernel/dts:hawao+oled:change lcm timing HAWAO+OLED: solve mipi driver strength weak problem dts: set boost current to 2A dtsi:change to 18w charging for hawao. kernel/dts:hawaii OLED:2nd Raydium panel: rename panel supplier info rhode:add sys_temp node rhode: panel: Modify tm and csot nt37701 panel code(1/2) kernel/dts:hawaii OLED:3rd:edo vtdr display driver bringup rhode:arm/dts:Modify the lcd driver for rhode. kernel/config:hawao:enable touch usb detection dtsi:add factory_mode_ntc_exist property in dtsi kernel/dts:hawaii OLED:2nd:visionox rm692cx display driver bringup Hawao:Enable power gpio for Chipone FPS Fuel gauge battery full capacity setting to 97% Fuel gauge battery curve parameter modification kernel/config:hawao:add touch gesture config kernel/config:hawao: add touch mmi config qc3:set qc3p charging voltage threshold 3.4V Hawaoii+OLED: The first FG(cw2217) rsense change to 5 m ohm Hawao:Bringup Chipone Fingerprint Hawaii+OLED: cw2217 fuelgaue battery profile update in dtsi dtsi:adjust curent limitation for hawao. rhode:open charger mode and gesture mode Hawaoii+OLED: The second charger IC(SC89890H) and FG(SM5602) bringup dts : arm/dts: bring up 4G 33w arm/dts: display: add panel dtsi for rhode [hawaii+oled]:vibrator long short vibration intensity 2/2 dtsi:qc3.0 support for hawaoi. dts:config slave to main current threshold dts:remove CDRVH for evt2, remain the original design for evb & evt1 dts:charging parameter per battery spec dts:CDRVH remove then modify i2c address to 0x66 dtsi: config sencond fgauge ic sm5602 and charger ic sc89890h hawaii OLED:support led for moblie phone background [2/2] Hawaii+OLED: thermal adc NTC Bringup. Hawao: NFC Bringup. Hawaii+OLED: AP side SAR sensor modify and add channel_num in dtsi dts:fuelgauge cw2217 battery param Hawaii+OLED: EGIS fingerprint bringup motify GPIO(dtsi) hawaii OLED: hawao audio bringup dts/hawao: add focaltech touch config to support module arm64/dts: hawao: Add wl2864c dtsi arm/dts: display: modify disp_vio vin supply Hawaii+OLED:usb bringup dts use rt_pd_manager Hawaii+OLED:usb bringup dts dtsi:add charging dtsi for hawao. FG:dynamic config sns resistance QC3P:turbo charger module devicetree display/dts: Modify the lcd reset gpio pin. Hawaii+OLED:vibrator bring up (1) dtsi Hawao: NFC Bringup(6) - device tree Hawao: NFC Bringup(2) - device tree hawaii OLED: visionox ft3519 touch drvier bringup dts: sar: add the reference channel for aw9610 dts/hawaii OLED: visionox vtdr6110 display driver bringup arm64/dts: make adb works on hawao dtsi:add ADC_GPIO3_DIV3 adc channel change LCD gpio:fix evt board gpio for LCD arm64/dts: Add dtbo for Rhode4G DVT hardware. kernel:dtsi add thermal adc interface : arm/dts: i2c change for samsung RN4V bring up kernel:dtsi sgm41511 charger not register arm/dts: display: add panel dtsi for rhode kernel:dwc3:fix QC native bug to stop VDD regulator unexpectly kernel:dtsi: enable charg type detection and usb enmu Revert "(CR) : arm/dts: i2c change for samsung RN4V bring up" arm64/dts: add hawao devicetree : arm/dts: i2c change for samsung RN4V bring up dts: sar: add reference channel for aw9610 dts: sar: modify the channel num and names for Rhode arm64/dts:rhode: turn on ldo4 of wl2866d by default rhode: audio: update awinic smartpa driver to V1.8.0.1 dts: sar: bringup aw9610 for EVT arm/dts: display: keep display power supply always on Revert "(CR):change LCD gpio:fix evt board gpio for LCD" rhode: LDO wl2866d bringup change Vibrator gpio:fix evt board gpio for Vibrator switch to evt fps dts for rhode change fps gpio:fix evt board gpio for fps change tp gpio:fix evt board gpio for tp change LCD gpio:fix evt board gpio for LCD : add samsung devicetree change arm64/dts: Implement different ldo compatibility. charge gpio : evb to evt board gpio change: arm64/dts Rhode4G: camera bring up(1/2) rhode: rhode 4G ldo wl2868c config[1/3] dts: sar: modify the correct vdd and irq pin for aw9610 Create new SW channel ID (retjio) . arm/dts: vibrator init arm/dts: config sdcard gpio level to high,because high level is default arm/dts: add charger and fg and tcpc dts dts: Rhode: Sar: add the dts of aw9610. arm/dts: display: add panel dtsi for rhode arm/dts: input touch init dts/arm64: add fps dts for rhode4g arm/dts:update audio config for rhode evb arm64/dts: add rhode devicetree - Device was not turning off when simulates instant drop voltage propag: arm/dts: modify djn ft8006s panel init code propagation: arm/dts: add ft8006s special timing configuration propag: panel: modify djn ft8006s panel brightness configuration propagation: arm/dts: panel: optimize djn ft8006s timing Configure Compute DSP as secure for sm6115 arm/dts: panel: enable cabc for 4th and 5th panel of guamna arm/dts: panel: add djn ft8006s panel for guam na arm/dts: input touch add focal ic arm/dts: panel: add tianma icnl9911s panel for guam na arm/dt: borneo: add lm3697 backlight ic to product arm/dt: backlight: Add ti lm3697 backlight ic configs arm/dt: dsi: change init cmds format of djnboe panel arm/dt: kyoto: pull down reset first when screen on arm/dt: change djnboe panel porch for borneo arm/dt: borneo: enable single tap touch gesture key arm/dt: borneo: add djnboe ft8009 panel configs arm/dt: borneo: add ft8009 touch ic configs adjust pmi-charger inclusion Create new Channel ID/ro.carrier retkr for South Korea. Cebu: 3rd dsbj panel display CABC optimize Cebu: 3rd dsbj panel display optimize for power [Guam NA] Revert (CR) arm64/dt: Create channelid for Spectrum arm/dt: bengal: add Trustonic mobicore device Cebu: 3rd dsbj chipone ICNL9911C FW upgrade to v020b Cebu: 3rd dsbj chipone ICNL9911C FW upgrade to v020a arm64/dts:import 2nd source SUNWODA battery profile. arm/dts:panel Cebu 3rd dsbj panel update aw99703 bl config Cebu: 3rd panel ICNL9911C touch FW upgrade tov0208 arm/dts:panel Cebu 3rd dsbj panel mipi clk update for RF dts:panel Cebu 3rd dsbj panel power seq update arm/dts: Cebu 3rd dsbj panel deep sleep mode Cebu: 3rd dsbj chipone ICNL9911C touch drvier support arm/dts: Cebu: 3rd dsbj panel display bringup arm/dts: panel: ilitek touch remove gesture config arm/dts: panel: txd ili7806s panel brightness update arm/dts: panel: modify djn nt36525b panel off and reset timing arm/dts: change chg_therm polling frequency arm/dts: panel: modify dj nt36525b panel suspend timing arm/dts:change chg therm polling frequency to 5000ms. arm/dts: input touch add 5th touch nvt arm/dts: panel: add djn nt36525b panel for guam Guam: Charging time optimization arm/dts: borneo: adjust headset micbias voltage arm/dts: guamna: fix hbm issue for guamna arm/dts: Cebu display enable dimming for backlight case dts: display: modify guamna tianma ili9882n backlight as 11bit fix flash issue of backlight at 3th LCD dtsi fix flash issue of backlight at 4th LCD dtsi arm/dts: Cebu NVT touch hw build ID update arm/dts: Cebu add panel supplier and touch hw info dts: panel: modify hlt ili9882h panel suspend timing dts: panel: modify tm ili9882n panel suspend timing arm64/dts guam touch ilitek add pinctrl dts: panel: hlt ili9882h keep power on for esd issue dts: panel: modify tm ili9882n panel pwm 20khz arm/dts: panel: modify tianma icnl9911s panel cmd state for esd remove cdsp_sec_reg and reduce cdsp_regions for berneoNA Don't use moto extended dsi features on Guamna R - Create channel ID for Optus Australia arm/dt: display: re-originize panel init commands arm/dts: borneo: enable aw882xx volume fade arm/dt: panel: change tianma ili9881x panel porch for RF arm/dt: panel: decrease tm-ili9881x delay time for KPI arm/dts: Disable xhci hardware lpm arm/dt: borneo: add novatek touch module info arm/dt: borneo: add panel supplier info arm64/dts:modify rst pin config of fps for borneo dts:Capri: new txd panel ini cmd update for backlight dts:Capri: new 3rd txd ili7806s panel touch bringup dts:Capri: new 3rd txd ili7806s panel display bringup dts:Caprip: Update the tune parameter kernel: driver/vibrator: set vib long volt to 2.5v for caprip Revert "(CR) ARM: dts: msm: Add bus scaling support" dts:Capri: TP: enable nova usb charger detection ARM: dts: msm: Add bus scaling support arm64/dts: capri: 2nd tianma panel porch update for RF remove secure display as it is not used arm64/dts: capri: djn panel init cmd update for delay time arm64/dts: caprip djn init cmd update to support ESD TE check arm64/dts: Capri6000 sx933x parameter arm64/dts: caprip sx933x update parameter Revert "(CR) dts:Caprip: TP SPI timing update" Revert "(CR) dts:Capri: TP SPI timing" arm/dts:integrate Capri6000 battery profile. arm64/dts: capri sx933x update parameter arm/dts: capri tm init cmd update for brightness update arm/dts: display power on seq update arm/dts:add oem battery profile for brazil local battery. dts: usb: qusb-phy-init-seq tunning arm/dts:Caprip: 3rd tianma panel enable dfps for 60/90Hz arm/dts:CFC change for factory charging limit. arm/dts:Caprip: djn panel porch update for RF dts:Caprip: TP SPI timing update dts:capri: txd ili9882h panel keep power on for esd issue arm64/dts:Capri: txd ilitek touch gesture enable 2nd txd panel porch update kernel: driver/vibrator: diff vol for long/short vib Caprip: djn NVT touch firmware upgrade to v02 dts:Capri: backlight values update for dvt2 dts:Capri: TP SPI timing update dts:Caprip: 2nd txd panel init cmd for display optimize dts:Capri: djn/txd panel init cmd for delay time arm64/dts: capri/p sx933x update parameter optimize vibrator voltage to 2600mV Capri: display driver optimze screen on time arm64/dts:Caprip: ESD fix for display flicker issue arm64/dts:Caprip: display support FPS 60/90Hz arm64/dts:Caprip: 2nd txd panel init cmd update for display issue arm64/config: add debug support for cap sensor arm64/config: add debug support for cap sensor arm/dts: Capri: txd/tm mipi clk update arm64/dts: sar sensor bring up - update parameter v9 arm64/dts: sar sensor bring up - update parameter v9 - Create channel ID for Softbank Japan Capri: 3rd tianma panel iliteck touch support arm64/dts: Capri: 3rd tianma display driver bringup arm/dt: update upper limit capacity to 65 arm64/dts: HBM gpio support on DVT2 arm64/dts: capri add init dvt2 overlay arm/dts: Capri/+: enable aw882xx volume fade arm64/dts: capri djn panel init cmd optimize dimming sx9338: sar sensor bring up - update parameter v7 arm64/dts: capri display driver init cmd update for backlight adjust fcc current to 2.4A for Capri 5000. dts: usb: qusb-phy-init-seq tunning sx9338: sar sensor bring up - update parameter v7 arm64/dts: capri display driver ESD update arm64/dts: capri remove useless panels and touch drivers arm64/dts: capri display min backlight update per ALS arm64/dts: capri display backlight update per ALS arm64/dts: capri txd panel init cmd update for pwm sx9338: sar sensor bring up - update parameter v6 arm64/dts: capri display driver update max backlight and HBM arm64/dts: capri display driver enable ESD change default battery SN for capri 5000 & capri+. arm64/dts: capri plus 2nd txd panel bringup arm64/dts: caprip novatek touch support multiple ic arm64/dts: capri plus formal djn panel support arm64/dts: capri display porch update arm64/dts: touch ilitek add pinctrl to keep high arm64/dts: capri display mipi clk update arm64/dts: capri 2nd panel ili touch bringup arm64/dts: capri 2nd txd panel bringup sx9338: sar sensor bring up - update parameter v2 sx9338: sar sensor bring up - update parameter v2 arm64/dts: capri djn NVT touch bringup for evt arm64/dts: capri djn evt panel support sx9338: sar sensor bring up sx9338: sar sensor bring up arm64/dts: capri/capri+ change nfc gpios setting Capri:Add support for Chipone FPS arm/dts: Caprip 1st djn display driver bringup arm64/dts:Capri/Capri+ charging bring up. arm/dts: Capri 1st djn display driver bringup arm/dts: Capri 1st panel NVT touch driver bringup usb:Remove dr_supported property for capri arm/dts: Caprip audio configuration arm/dts: Capri audio configuration arm/dts: init device tree for caprip arm/dts: init device tree for capri arm/dts: panel: enable tianma ili9882n panel esd check arm/dts: panel: modify tianma icnl9911s panel init code for NA arm/dts: panel: modify tianma icnl9911s panel init code change UI 100 SOC current to 400mA. dts:integrate india local buy battery profile arm/dts: cebu dsbj panel mipi clk update for RF arm/dt: borneo: Change panel physical size arm64/dts: sdhci add vbias config add oem battery profile version. arm/dts: panel: enable hlt ili9882h panel esd check usb:Eye diagram tunning arm64/dts: sdcard pick up qcom config arm/dts: panel: modify tianma icnl9911s cabc pwm frequence arm/dts: panel: enable tm ili9882n panel hbm Revert "(CR):usb0:overlay the iommu-dma to fastmap" arm/dts: panel: modify tianma icnl9911s cabc pwm frequence Capri bringup usb:Remove dr_supported property for guamna dts:remove unused dr-supported node arm/dts: panel: modify hlt ili9882h mipi clk for rf desense arm64/dts:enable tcss to make soc scale 100% more accurate. arm64/dts: input add touch ili9882n support use low-ram dts for 32bit as widevine L1 is not supported arm/dts: panel: add tianma ili9882n panel dtsi arm/dts: cebu:TP: enable nova usb charger detection arm/dts: panel: enable hlt ili9882h panel hbm arm64/dts:add cebu 1st source battery parameter. arm/dts: cebu tianma panel seq update for pull down arm64/dts: enable fir sensor dynamically arm/dt: borneo: change default status of wled i2c pin arm/dts: Add 700mA thermal limit charge current level arm64/dts Cebu tianma CABC & HBM update arm64/dts: dsbj power seq update usb0:overlay the iommu-dma to fastmap arm/dts: cebu touch spi config update arm/dts: panel: modify hlt panel porch code for desense arm64/dts:support 3 channels on DVT2 for borneo arm/dts: cebu tianma panel lcd_rst config arm/dts: cebu tianma panel enable ESD arm/dts: cebu dsbj panel enable CABC arm/dts: cebu tp spi miso update adjust the factory charging limit to 75%. dts: Config ext ovp 12V at guamp arm64/dt: borneo: add dvt2 dts file add ext-ovp-greater-12v for cebu. arm/dts: Config mmi,ext-ovp-greater-12v arm/dts: Config bcl-not-mitigate-cpu arm/dts: cebu tp spi update arm64/dts: add nvt touch node arm/dts:panel: ktd backlight current update guamna:enable CAP learning wt arm64/dts: input add touch ilitek support arm/dt: borneo: change panel porch to meet qc requirement arm/dt: borneo: change wled aw99703 max current to 21mA arm/dts: panel: modify hlt panel mipi clk for desense arm/dts: panel: add hlt ili9882h panel dtsi arm/dts:panel: Cebu display update for power supply config Cebu: Support Chipone FPS on Cebu arm/dt: borneo: use platform reset always high prop arm/dts:panel: Cebu remove usless EVB cmds arm/dts: panel: use platform reset always high prop arm/dts: Cebu: dsbj display brightenss update arm/dts: panel: use platform reset always high prop arm/dts: panel: modify lcd reset and vsn off timing arm/dts: Cebu: TP probe config update for multiple TP ICs arm/dts: Cebu dsbj disable cabc arm/dts: Cebu: set tp spi csn to high as default arm/dts:update aw882xx driver to v0.1.11 arm/dts: Config iterm qg current for borneo arm/dts: Cebu 2nd tianma display info update arm/dts: Cebu Novateck touch bringup guamp:optimization charging full time per HW guamna:optimization charging full time per HW guam:charging full display time optimization arm/dts: Cebu 2nd tianma display bringup arm/dt: borneo: set max current to 25ma arm/dt: borneo: set spi clk to low as default arm/dts: update aw882xx driver to v0.1.10 remove obselete recovery from vbmeta list arm/dts: Cebu ktd3136 backlight IC support arm64/dt: borneo: add DVT1 dts dts:distinguish type-c and microb dcp input setting arm/dt: panel: Update nt36672a panel init command for esd arm/dt: borneo: add touch int pinctrl status arm/dts: Cebu dsbj panel enable ESD arm/dts: panel: enable hbm for guam na arm/dts: Cebu focaltech touch config add panel info arm/dts:cebu sar sensor channel dts: usb: qusb-phy-init-seq tunning arm/dts:cebu:sar sensor voltage import cdsp optimization for all targets by default, new memory map arm/dts: Cebu dsbj panel hbm config arm/dt: Borneo: set hbm type to wled arm/dt: change ilitek panel init command to improve esd arm/dts: usb: configure usb for cebu bringup arm64/dts: add thermopile node battery: Config atl and scud batt profile for borneo arm/dts: Add aw882xx pinctrl arm/dts: panel: modify mipi timing for guamna arm/dts: panel: sync drvonly panel timing. Revert "(CR):arm/dts: Config battery profile for borneo" arm/dts:config NTC therm for cebu. arm/dts: Cebu: display panel update for ssc dts:config BCL devicetree arm/dts: Cebu: tp gpio conflict case update cebu: dtsi add cebu camera dtsi arm/dts: Cebu: fix tp gpio conflict case arm/dts:cebu:sar sensor bring up arm/dts: Cebu dsbj panel power sequence update arm/dt: leds: set wled max current to 25mA arm/dt: borneo: enable two reset device tree props arm/dts:Cebu charging initial configuration. arm/dt: Odessa: enable single tap function arm/dts: GuamNA: modify guam na display configuration arm/dts: GuamNA: add NA dts for unique config arm64/dts:modify sar config for borneo arm/dt: cebu: dsbj ft panel touch driver bringup arm/dts:Enable afe profile config for GuamNA arm/dt: cebu: dsbj ft panel display bringup arm/dts: Cebu audio configuration arm64/dts: Add dtsi for enable HBM at pvt of guamp arm/dts: Add low temperature/pressure table DTS conf arm/dts: init device tree for cebu arm/dt: Create new ro.carrier for Japan arm/dt: Borneo: Change backlight channel from 2 to 3 arm/dt: Borneo: add evb dts arm/dt: panel: set panel pwm output to non-zero arm/dts: Config battery profile for borneo arm/dts:Config USB PHY for borneo product arm/dt: borneo: change backlight control type to i2c dts:optimize charger temination curent for JK50 dts:3rd sunwoda battery cell profile integration arm/dts: panel: enable tm panel esd check for guam arm64/dts: input add moto care support arm/dts: borneo audio configuration arm/dts: Modify Sar Sensor VDD From 2.4V To 2.8V arm/dts: Config DCP 2A charge current for borneo dts:support 2A DCP charger dts:optimize the full soc time of FG keep using normal dts for Guamna as we optimized cdsp for all targets enlarge tz region for fingerprint on low ram config include low ram config on guamna import cdsp optimization for all targets by default arm/dts: panel: fix tm panel off power consumption issue therm:config NTC for bornr NA arm/dts: add HAC aw8155 enable signal dts:remove backlight cooling device arm64/dts:modify FPS dts config for Borneo arm/dt: change tm ili9881x panel pwm configs arm/dts: panel: optimize panel timing for guam arm/dts: panel: enable mot ext display feature for guam arm/dt: borneo: add djn nt36672a panel to borneo product arm/dt: Add djn nt36672a panel configs Guamna: Remove unused dts node google key dts:usb:qusb-phy-init-seq tunning arm/dts: init audio dtsi for Borneo NA arm/dts: conifg charge for bornr NA arm/dts:Remove unused audio config arm/dt: borneo: add tps61280 support arm64/dts:modify sarsensor dts config arm/dts: panel: add panel supplier name in panel dtsi arm/dts: panel: modify panel brightness min level arm/dt: Add tm ili9881x touch configs arm/dt: Add tm ili9881x panel configs arm/dt: Add wleds driver aw99703 configs arm/dt: Add tm ili9881x panel configs dts:Enable qpnp-power-on-mmi driver dts:Enable qpnp-power-on-mmi driver dts:Enable qpnp-power-on-mmi driver arm64/dt: modify fps dts config in borneo arm/dts: panel: disable hlt panel dfps function for CTS issue dts:charger parameter update arm/dts: Modify mic2's BIAS voltage arm/dts: panel: compatible with DVT1, DVT2 (SUK1, SKU3, SKU4) board about HBM codes(send 51 command). 1. DVT1 not have HBM. 2. DVT2 guam have HBM. 3. DVT2 guamp SKU1 not have HBM, DVT2 guamp SKU3, SKU4 have HBM. arm/dts: sar sensor power is always on dts:usb conn thermal ntc init arm/dts: panel: add 51 cmd hbm dts config arm/dts: enable tps61280 boost ic for guamna arm/dts: panel: fix hbm does not work issue dts/arm64: Guamna: cap sensor bringup arm/dt: borneo: add camera dts arm/dts: guamna: include camera dtsi file fixup! (CR): arm/dts: init device tree for borneo arm/dts: init device tree for borneo arm/dts: update guamna dts on pre-evb board arm/dts: Remove Sar sensor arm/dts: panel: modify hlt panel init sequence arm/dts: remove dmic config. arm64/dts: i2s1 and dmics gpio conflict. arm/dts: init device tree for guamna arm/dts: display: enable tianma panel's cabc function dts:lcd backlight cooling device driver arm/dts: guam: enable esd check for hlt panel dts:Enable dual role interface support : remove nfc function for guam dts:battery profile integration gaum/guamp dts:Charging parameter config change per battery spec arm64/dts: add touch chipone support arm/dts: add tm icnl9911s 720p panel for guam gitignore: ignore dts link arm/dt: guam: Compile guam DVT dtbo arm64/dts: input add touch novatek support arm/dts:Add aw882xx config for guam/guamp arm64/dts: Sar sensor modify vdd and gpio. arm/dts: add djn nt36525b 720p panel for guam : arm/dts : guam/guamp enable nfc dts:Rename thermal sensor for tcmd arm64/dts: Added fps dts for guamp Remove the usb phy overlay dtsi:thermal ntc dtsi init Tune the usb phy and add missing node arm64/dts: add fpc1520 dts for guam Added fps dts for guam arm/dt: guam: add camera dts dts:battery/charger driver init at guamp dts:led driver init at guam arm64/dts: add google assist gpio key arm64/dts: Sar sensor bringup. arm64/dts: update gpio list protected by TZ arm/dts: guamp: add camera dts arm/dts: enbale 2bytes brightness dcs command arm64/dts: input add drm support arm/dts:Add dts config for audio PA arm64/dts: add dontpanic memory arm64/dt: Add carrier sales channel ID arm64/dts: Sar sensor bringup. arm64/dts add sdcard support dts:moto charger/battery enable arm64/dts add touch support arm/dts: modify hlt 720p panel timing arm/dts:Add audio config for guam arm/dts: add hlt 720p panel for guam. arm/dts: init guam dts arm/dt: guamp: initial set of dts files arm/dt: guam: initial set of dts files Conflicts: arch/arm64/boot/dts/vendor/.gitignore Change-Id: I8763b0e365ef7ff741a449e3d833c86b3841f4bc |
||
|
|
0c7cd62b0a |
Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm into lineage-20
"Devon push for Android 13" * tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm: Revert "spi: spi-msm-geni: Keep device to suspend if PM call fails" BACKPORT: FROMGIT: binder: fix freeze race FROMGIT: binder: BINDER_GET_FROZEN_INFO ioctl binder: BINDER_FREEZE ioctl mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse techpack: add camera legacy support ANDROID: usb: f_accessory: Check buffer size when initialised via composite ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write ext4: fix kernel infoleak via ext4_extent_header wifi: mac80211_hwsim: avoid mac80211 warning on bad rate fbcon: Disallow setting font bigger than screen size KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated arm64: Add Cortex-X2 CPU part definition arm64: Add Neoverse-N2, Cortex-A710 CPU part definition arm64: Add part number for Arm Cortex-A77 fget: check that the fd still exists after getting a ref to it fs: add fget_many() and fput_many() mm: fix misplaced unlock_page in do_wp_page() mm: do_wp_page() simplification mm/ksm: Remove reuse_ksm_page() mm: reuse only-pte-mapped KSM page in do_wp_page() Revert "mm:Fix conflict of speculative fault and MGLRU" mm:vmscan:Update the page scan prioritiy skip USB PHY reset on charger removal fuse:Porting fuse passthrough feature mm: mglru fix on qcom baseline mm:Clean page_io revert conflict Revert write back changes iio:add bc12 type read iio. [rhode]:Modify ldo driver voltage[2/2] configs:Enable multi generation LRU arm64: pgtable: Fix pte_accessible() mm: fix unexpected zeroed page mapping with zram swap mm:Fix conflict of speculative fault and MGLRU FROMLIST: mm: multi-gen LRU: design doc FROMLIST: mm: multi-gen LRU: admin guide FROMLIST: mm: multi-gen LRU: debugfs interface FROMLIST: mm: multi-gen LRU: thrashing prevention FROMLIST: mm: multi-gen LRU: kill switch FROMLIST: mm: multi-gen LRU: optimize multiple memcgs FROMLIST: mm: multi-gen LRU: support page table walks FROMLIST: mm: multi-gen LRU: exploit locality in rmap FROMLIST: mm: multi-gen LRU: minimal implementation FROMLIST: mm: multi-gen LRU: groundwork FROMLIST: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG FROMLIST: mm: x86, arm64: add arch_has_hw_pte_young() BACKPORT: include/linux/mm_inline.h: fold page_lru_base_type() into its sole caller UPSTREAM: mm: VM_BUG_ON lru page flags BACKPORT: mm: add __clear_page_lru_flags() to replace page_off_lru() BACKPORT: mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list() UPSTREAM: mm/swap.c: don't pass "enum lru_list" to trace_mm_lru_insertion() BACKPORT: mm: don't pass "enum lru_list" to lru list addition functions BACKPORT: include/linux/mm_inline.h: shuffle lru list addition and deletion functions BACKPORT: mm/vmscan.c: use add_page_to_lru_list() BACKPORT: mm: use self-explanatory macros rather than "2" BACKPORT: mm: remove superfluous __ClearPageActive() BACKPORT: mm/swapcache: support to handle the shadow entries UPSTREAM: mm/vmscan.c: use update_lru_size() in update_lru_sizes() UPSTREAM: arm64: cpufeature: introduce helper cpu_has_hw_af() UPSTREAM: mm: replace list_move_tail() with add_page_to_lru_list_tail() kernel: add PD VDM VERIFY IIO channel. Low flashlight brightness bugfix Hawaii+ OLED: sim1+sim2+sd fast plugging cause phone hang kernel/config: hawao: usb: sim1+sim2+sd fast plugging cause phone hang arm/config: devon: add CONFIG_CAM_SENSOR_PROBE_RETRY shmem becomes bigger and bigger when launch apps driver/power: Add debug logs Hawao: Fix NFC power consumption in sleep mode. devon:charger bring up kernel:add bc12 detect channel definition Revert "(CR): drm: mipi: Disable the MIPI DSI commands 0x2E and 0x3E" devon4g: camera flash bringup FROMGIT: binder: fix test regression due to sender_euid change UPSTREAM: binder: use cred instead of task for getsecid BACKPORT: binder: use cred instead of task for selinux checks UPSTREAM: binder: use euid from cred instead of using task arm64/defconfig: add devon extra configs hawao: devconfig: enable CHACHA20 crypto configs rhode: devconfig: enable CHACHA20 crypto configs regulator: Force shutdown all regulators when system power off. arm64: defconfig: Flash compatible TZ: Distinguishes encrypted and unencrypted TZ logs interfaces. TZ: Fix build err Hawaii+OLED:remove CONFIG_QCOM_FSA4480_I2C defconfig: Disable SLAB_MERGE. arm64/config:Enable Zram writeback on hawao Enable LZ4 on Rhode4G and Hawao dts: rhode: remove CONFIG_QCOM_FSA4480_I2C mm: zram: fix build error when zram wb disabled mm : zram fix swapcached issue on Zram Writeback fs:proc:abort reclaim once process goes to foreground ip_gre: add validation for csum_start arm64/config:Enable Zram writeback on Rhode kernel:add charger termination definition rhode:kernel: add wt6670 get firmware num node kernel/config:hawao:remove FTS TP config to use module kernel/input:hawao:update to use TP module ko kernel: remove wt6670 isp macro definition for user version kernel/config:hawao: add new FTS config to fix build error input/touchscreen: add ft3519 source config input/ft3519: hawao touch driver bringup Revert "(CR) hawaii OLED: visionox ft3519 touch drvier bringup" kernel: add wt6670 macro definition to control i2c nack QC3P:add iio channel definition Rhode: define CONFIG_CAMERA_FLASH_PWM display: Modify LDO driver initialization voltage compatibility Hawao: NFC Bringup(4) - driver hawaii OLED: visionox ft3519 touch drvier bringup kernel: qc3p wt6760 isp download function kernel:add ADC_GPIO3_DIV3 adc channel display/config: Add LDO driver config into the kernel. display: Load the regulator driver directly into the kernel. kernel: use orderly_poweroff when usb plugged out tty:diag:Move tty_flip_buffer_push out of spinlock Revert "tty:revert the tty update from qcom for moto tty_diag driver" kernel:dwc3 delay extcon module registeration ANDROID: xt_quota2: set usersize in xt_match registration object ANDROID: xt_quota2: clear quota2_log message before sending ANDROID: xt_quota2: remove trailing junk which might have a digit in it arm/defconfig: add hawao extra config usb:diag:revert the f_diag update from qcom for moto tty_diag driver tty:revert the tty update from qcom for moto tty_diag driver : Enable samsung NFC driver : integrate samsung RN4V NFC driver Rhode4G: wide camera bring up kernel: add charger gki kernel: change spi gpio for i2c gpio for charger : Remove gpio3 from reserve list for rhode4g arm/defconfig: add rhode extra config Revert "(CR) guamp: emmc add ffu" Removing debug config [PATCH] qseecom: Call INIT_WORK() before flush_work() guamp: emmc add ffu Caprip: modify the actuator noise reduction work flow. Caprip: modify the actuator noise reduction work flow. APP data lost after first R upgrade Porting of (CR) replace WARN with pr_debug for IPA api MOTODESK-2239 Make NCM driver compatible with windows disable CONFIG_SLUB_DEBUG for user builds disable CONFIG_DEBUG_PANIC_ON_OOM in userdebug builds Include inlinecrypt at config.gz to fix Q->R upgrade usb: add xhci-hw-lpm-disable dt property support kernel:ram overwritten by TZ logs to cause random panics caprip: Add start/stop vibrating notification to actuator. arm64: defconfig: Actuator noise reduction. kernel: driver/vibrator: diff vol for long/short vib skip ipa assert for debug build (patch 2) skip ipa assert for debug build limit ion cache size Revert "(CR) power: Add wakeup source in battery historian logging" power: print active wakeup source before suspend. alarmtimer: add debug to identify alarmtimers charger:driver:fix non power off issue for factory kill. arm64/defconfig: capri: open nfc driver for capri arm64/defconfig: disable debug fs on user build charger:support typec high 2A current at non-turbo product arm/defconfig: enable CONFIG_DEBUG_LIST on R soc: qcom: service-locator: enlarge timeout value arm/defconfig: caprip: init kernel deconfig arm/defconfig: capri: init kernel deconfig Revert "Revert "msm: media: uapi: Redefine NV12 format with different alignment"" Revert "msm: media: uapi: Redefine NV12 format with different alignment" clear SDAM for new battery profile loading. disable DEBUG_PANIC_ON_OOM on 3G ram device driver:qg:enale QG_DEBUG_SOC. Charge: fix slab out of bounds risk charge: qc2.0 adapter charge slow charge: Handle QC2.0 charger vbus rise 12V BCL: Enable charge bcl feature arm: setup: support mem= memory limit arm: call idle notifiers in CPU idle charger:improve micro-b input current to 1.9A per HW Capri bring up kernel:distinguish type-c and microb cdp input setting disable SPLIT_RSS_COUNTING to fix zero RSS issue charger:add battery test mode support for cebu. spi: disable_depth > 0 when pm runtime get sync driver/spi: spi driver suspend changes kernel: panel_notifier: Add new panel notify event type mmc:host:sdhci:Fix host->claimer NULL pointer problem Change ION fill mark from 100M to 16M to reduce the Lost RAM arm/defconfig: cebu: init kernel deconfig : NFC VEN pin startup and shutdown sequence disable watermark boost charge:Config DCP 2A charge current tune memory configs charger:limit typec high to medium when hvdcp disabled charger:support 2A dcp charger arm64/defconfig: enable external usb camera power: reset: Use warm reset for dload mode Update kernel config of userdebug on Guam/GuamP to improve performance charger:duplicated apsd detection at pmi632 expose ssr_reason to ss_ramdump SD: print SD interrupt log charger:SW_ICL do not used at moto charger:factory image charging soc over 75% usb audio: Let the usb sound card index from 1 kernel:USB DRP connect debug accessory test charge: config: config batt NTC for bornr NA Kernel: add sys node for panel supplier gpu/drm: Create panelRegDA sysfs to expose panel's reg pwrkey: change printk level to output to console Reboot: trigger warm reset when receive hw_warmreset cmd disable CONFIG_DEBUG_CONSOLE_UNHASHED_POINTERS for sts test Revert (CR): power: smb5: Clear HDC AICL arm/defconfig: borneo: init kernel deconfig guam serials: remove kernel config for PASR Revert "mm, vmstat: hide /proc/pagetypeinfo from normal users" arm/defconfig: guamna: init kernel deconfig arm/defconfig: add 32bit debug config defconfig.mk: add arch specific debug enable psi for guam guamp Revert "defconfig: disable MEMCG for bengal 32" Fix QC rebase issue for dual role sysfs access issue ion: display ion total size in debufs node ion: dmabuf improve debugfs kernel:support huawei p10 5A cable bengal:Enable dual role usb interface smb5:Add dual role class support in smb5 usb:Add dual role class support sdcardfs: don't depend on reserved_mb to check free space sdcardfs: check the free space before creating files sdcardfs: copy inode size while getting attributes : remove nfc function for guam charger:allow APSD re-run at factory usb detection CONFIG_FPR_FPC disable for rebase fingerprint fix defconfig.mk: Don't force make defconfig gitignore: ignore dts link guamp: arm64/dtsi enable regulator_fixed_voltage power: Add wakeup source in battery historian logging arm64/defconfig: enable softlockup panic for debug : arm64/defconfig : enable NFC kernel:add OCP charger current limitation guam: add touch module support Revert "(CR): config: disable CONFIG_PANIC_ON_REFCOUNT_ERROR" arm64/defconfig: disable debug config config: disable CONFIG_PANIC_ON_REFCOUNT_ERROR arm64/configs: sm4250: Enable USB console tty: msm_geni_serial: Support the match() callback printk: Keep boot console on if enabled arm64/config: support UAS of usb storage arm64/defconfig: enable usbnet drivers usb:configfs:Set udc_name NULL if attach failed usb/dwc3: msm: Enable all Debug Logs gadget: bcdUSB version back to 2.0 when not SuperSpeed usb: configfs: synchronize the secure and udc_name state usb: configfs: skip unregister gadget in secure usb: gadget: f_mtp: Return error if count is negative usb: gadget: storage: Support READ_TOC for MacOS usb: configfs: Implement secure attribute usb: configfs: Reset the use_os_desc flag usb: mass_storage: Add support for SC_REBOOT usb: f_mtp: Handle OS descriptors only when bound config:remove unused smb1355 config guam: input add touch class support arm64/config: enable DIAG_OVER_TTY drivers: tty: add tty diag module char: diag: add write done sync function panel_notify: add api for touch state guam: defconfig: enable panel notifications video: Add panel_notifier framework drm: mipi: disable Elvss dim of HBM for MIPI DSI Add new macro MIPI_DSI_MSG_READ gpu/drm: Create sysfs to expose panel vendor infor drm: mipi: Disable the MIPI DSI commands 0x2E and 0x3E drm/dsi: Implement DCS set disp brightness 2bytes guam: input add drm support defconfig: bengal: enable pstore power: Add function to show active wakelocks power: suspend: Save snapshot of gpio, vreg when suspend PM/Suspend: Print wall time at suspend entry and exit - Do not unload prov TZ app. add system restart warm and panic mode printk: increase log buffer size to 2k qpnp-power-on: Print system timestamp on Power key event regulator: core: Add sysfs node for debug pinctrl: msm: Add sysfs node for debug watchdog_v2: export watchdog trigger pinctrl: pinctrl-msm: do not dump unallocated GPIOs of: conditional status property arm64/dt add kpanic modules kernel:moto charger/battery driver enable config:battery 10k ntc enable guamp: input add touch support input add touch support kernel:JK50 NTC 10K report wrong temp arm/defconfig: update debug option defconfig: enable CONFIG_MEMCG config defconfig: bengal: Add moto defconfigs msm-poweroff: Store restart reason power: pmic-voter: Export Interfaces Do not build moto config while building MSI kernel/config: Add Moto ext_config feature soc: qcom: kconfig opt to build moto dtbs soc: qcom: socinfo: Add sku sysfs support soc: qcom: socinfo: Add revision 16 support in socinfo structure net: qrtr: fifo: Add bounds check on tx path msm: ADSPRPC: Restrict untrusted applications from attaching to GuestOS msm: kgsl: Zap performance counters across context switches msm: kgsl: Add a sysfs node to control performance counter reads tzlog: update struct to get normal and fatal diag logs firmware: qcom: Remove garbage characters from qsee log firmware: qcom: add enlarged qsee log support firmware: qcom: encrypted tz and qsee log support serial: msm_geni_serial: Reduce stale delay added in stop_rx_sequencer clk: qcom: debugcc: Remove the gcc_camss_camnoc clocks defconfig: Enable CONFIG_ION_SYSTEM_HEAP for bengal f2fs: fix the periodic wakeups of discard thread f2fs: allow to change discard policy based on cached discard cmds msm: adsprpc: Lock list before removing node clk: qcom: gpucc: Update the post div ops for GPUCC PLL for KHAJE clk: qcom: clk-alpha-pll: Update implementation for Zonda PLL msm: kgsl: Use pid struct to find the process to reclaim mm: process_reclaim: pass pid struct instead of tgid msm: kgsl: Change vma->vm_file to shmem file mm: process_reclaim: skip target_vma net: qrtr: Excessive logging casuing boot failure Revert "msm: kgsl: Add GPUCC register dumps to A6xx GPU snapshot" defconfig: msm: Enable CONFIG_STATIC_USERMODEHELPER for bengal_32 fdt: Update CRC check for rng-seed defconfig: Enable blk-crypto-fallback to handle sw crypto request md: dm-default-key: Use system sector size for SDHCI devices msm: mink: Fix copy_to_user issue fix corrupt merge serial: msm_geni_serial: Disable irq only for HSUART usecase msm_geni_serial: Correct the DMA RX interrupt logic Conflicts: .gitignore arch/arm/include/asm/spectre.h arch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/cputype.h drivers/gpu/drm/drm_mipi_dsi.c drivers/soc/qcom/socinfo.c drivers/usb/gadget/function/f_ncm.c drivers/usb/gadget/function/u_ncm.h drivers/video/fbdev/core/fbcon.c fs/file.c fs/fuse/dev.c fs/fuse/file.c fs/fuse/fuse_i.h fs/fuse/passthrough.c include/drm/drm_mipi_dsi.h include/linux/page-flags-layout.h include/linux/rmap.h include/uapi/linux/dma-buf.h include/uapi/linux/fuse.h mm/page_io.c mm/rmap.c Change-Id: I284de7199b3bfc44db2cfc89b2cd00a51bebdb6d |
||
|
|
8f48482f97 |
Merge commit '57477563bd945cd6fec1fed536b38327fbf78d05' into android13-4.19-kona
Estimated tag: LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0 * commit '57477563bd945cd6fec1fed536b38327fbf78d05': ARM: dts: msm: Add Dynamic FPS support for SKU4 ARM: dts: msm: Enable imx586 and imx686 for RB5 NonPop/M SOM ARM: dts: qcom: Add apb_bclk to enable dcc ARM: dts: msm: enable esd check for xr sku4 platform Revert "ARM: dts: msm: Add GPU pwrlevels for KONA-7230" ARM: dts: msm: Add cluster ID to core hang DT node ARM: dts: msm: update bandwidth vote to nominal values for bengal bindings: leds: Add torch-realtime-brightness-control property ARM: dts: msm: disable splash and rdump region for 7230 ARM: dts: msm: add a dt property to restrict TPS4 pattern support ARM: dts: msm: Disable secondary usb controller for KONA-7230 ARM: dts: msm: Add GPU pwrlevels for KONA-7230 ARM: dts: msm: disable IPA entry for khaje APQ gaming targets ARM: dts: qcom: Disabling camera nodes for khajeg ARM: dts: qcom: Add apq-gaming variant device tree support to Khaje ARM: dts: qcom: Add device tree support for Khaje IOT ARM: dts: qcom: Add second trip to skin-msm-therm-usr for sxr2130 ARM: dts: msm: Update MPM IPC register for khaje Revert "ARM: dts: msm: enable vsync-skew for SKU4 panel" ARM: dts: msm: Add gpio87 to PDC irq map for kona Revert "ARM: dts: msm: Remove IFE-Lite nodes" ARM: dts: msm: Configure PCIE2 for I210 Ethernet card ARM: dts: msm: Configure PCIE2 for I210 Ethernet card ARM: dts: msm: Configure PCIE2 for I210 Ethernet card ARM: dts: msm: Add configuration for ice driver in kona.dtsi ARM: dts: msm: enable vsync-skew for SKU4 panel ARM: dts: msm: Change the typical voltage for XR Reference devices ARM: dts: msm: configure dp as primary ARM: dts: msm: Remove IFE-Lite nodes ARM: dts: msm: dynamic aux config Revert "Revert "ARM: dts: msm: add dp support for rb5"" ARM: dts: msm: Add initial support for Nordic ARM: dts: msm: Add initial dts support for KONA-7230 Revert "ARM: dts: msm: add dp support for rb5" ARM: dts: msm: Add initial support for Nordic chip dt-bindings: add documentation for nordic-spicontroller ARM: dts: msm: update bias-voltage settings for display on bengal ARM: dts: msm: enable the 4-wire UART SE0 for QCS2290 ARM: dts: msm: Add 4-wire UART SE0 dt nodes for DIAG ARM: dts: msm: add dp support for rb5 ARM: dts: qcom: Add support sdm660-pm660a for SDM660 dt-bindings: add documentation for kinetics-nordic ARM: dts: msm: Keep DSC properties for non-XR Kona projects ARM: dts: msm: add wb clk status for kona target dt-bindings: usb: Add genoa extcon notifier driver description ARM: dts: msm: Change persistence on AR Display ARM: dts: msm: Increase timeout for ufs phy gdsc on kona ARM: dts: qcom: update the subtype ARM: dts: msm: Add device tree files for SCUBALITE ARM: dts: msm: Enable CVP SMMU fault tolerance and Stall disable ARM: dts: qcom: Add new device tree ARM: dts: msm: Switching back to 60FPS to XR2 AR Glass Change-Id: I85ce6994efe0406b1176b8090c2b3b31d21d9eeb |
||
|
|
102cc14cab |
Revert "qcacld-3.0: qca6390_defconfig: Enable desc debug check."
Builds fine without it.
This reverts commit
|
||
|
|
6400afb1f9 |
Revert "qcacld-3.0: qca6390_defconfig: Enable power debug."
Builds fine without it.
This reverts commit
|
||
|
|
ccff06a315 |
GKI: config: FW_CACHE: remove duplicated CONFIG_FW_CACHE
There are duplicated changes about "firmware_class: make firmware caching configurable". Both created config description of CONFIG_FW_CACHE. This change remove description on `drivers/base/Kconfig` and disable CONFIG_FW_CACHE in defconfig Bug: 154580242 Bug: 153823050 Signed-off-by: lucaswei <lucaswei@google.com> Change-Id: Id66e2cb0da2a9ae36fbcb9f508af250e9af95b05 |
||
|
|
dd24862646 |
GKI: ARM: dts: msm: disable coresight for bengal/kona/lito
Coresight is used for debugging purposes. When the debugging configs are disabled, having these included causes power regressions due to clks being left on. So lets disable all the coresight DT entries by default. Signed-off-by: Will McVicker <willmcvicker@google.com> Bug: 156429236 Test: compile, verify list of probed devices Change-Id: I84f9c874f2f5e8720ced23c7b4268d1b536b96a7 |
||
|
|
45dc4b69dc |
defconfig: bengal/kona/lito: enable CONFIG_CC_WERROR
Ensures that no new warnings are introduced to the build. Bug: 141372918 Change-Id: I4107af91f5c1ddd655037823350e005e8362d588 Signed-off-by: Chenglu Lin <chenglulin@google.com> |
||
|
|
8979260098 |
kernel: Add CC_WERROR config to turn warnings into errors
Add configuration option CONFIG_CC_WERROR to prevent warnings from creeping in. Bug: 141372918 Change-Id: Ie2d067c0177d8f13e9aaa9a78867998e390f89ee Signed-off-by: Chenglu Lin <chenglulin@google.com> |
||
|
|
ede19bd3c1 |
msm: vidc: fix error during debugfs init
When CONFIG_DEBUG_FS is disabled, the call to debugfs_create_dir will result in an error. Add a check of the config to avoid the error. Change-Id: I7a79dbc5c4c5e1e3192a11d55ad9b7994788f30f Signed-off-by: ziqic <quic_ziqic_01@quicinc.com> |
||
|
|
693180eebb |
Squashed revert of recent blk-mq changes
Revert "BACKPORT: blk-mq: fix is_flush_rq" This reverts commit |
||
|
|
930923679e |
Merge tag 'LA.UM.9.12.r1-17600.04-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/kernel/msm-4.19 into android13-4.19-kona
"LA.UM.9.12.r1-17600.04-SMxx50.QSSI14.0" * tag 'LA.UM.9.12.r1-17600.04-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/kernel/msm-4.19: BACKPORT: blk-mq: fix is_flush_rq BACKPORT: blk-mq: clear stale request in tags->rq[] before freeing one request pool BACKPORT: blk-mq: clearing flush request reference in tags->rqs[] BACKPORT: blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter Conflicts: block/blk-mq-tag.c block/blk-mq-tag.h block/blk-mq.c Change-Id: I7d9036406b384ced9b64346fc4107b23f8893f34 |
||
|
|
33ef102789 |
Merge tag 'ASB-2023-12-05_4.19-stable' of https://android.googlesource.com/kernel/common into android13-4.19-kona
https://source.android.com/docs/security/bulletin/2023-12-01 * tag 'ASB-2023-12-05_4.19-stable' of https://android.googlesource.com/kernel/common: Revert "macsec: use DEV_STATS_INC()" Revert "net: add DEV_STATS_READ() helper" Linux 4.19.300 net: sched: fix race condition in qdisc_graft() iomap: Set all uptodate bits for an Uptodate page scsi: virtio_scsi: limit number of hw queues by nr_cpu_ids drm/amdgpu: fix error handling in amdgpu_bo_list_get() ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks ext4: correct return value of ext4_convert_meta_bg ext4: correct offset of gdb backup in non meta_bg group to update_backups ext4: apply umask if ACL support is disabled Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E" media: venus: hfi: add checks to handle capabilities from firmware media: venus: hfi: fix the check to handle session buffer requirement media: venus: hfi_parser: Add check to keep the number of codecs within range media: sharp: fix sharp encoding media: lirc: drop trailing space from scancode transmit i2c: i801: fix potential race in i801_block_transaction_byte_by_byte net: dsa: lan9303: consequently nested-lock physical MDIO tty: serial: meson: fix hard LOCKUP on crtscts mode serial: meson: Use platform_get_irq() to get the interrupt tty: serial: meson: retrieve port FIFO size from DT serial: meson: remove redundant initialization of variable id tty: serial: meson: if no alias specified use an available id ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC ALSA: info: Fix potential deadlock at disconnection parisc/pgtable: Do not drop upper 5 address bits of physical address parisc: Prevent booting 64-bit kernels on PA1.x machines dmaengine: stm32-mdma: correct desc prep when channel running mcb: fix error handling for different scenarios when parsing quota: explicitly forbid quota files from being encrypted jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev PM: hibernate: Clean up sync_read handling in snapshot_write_next() PM: hibernate: Use __get_safe_page() rather than touching the list mmc: vub300: fix an error code clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks parisc/pdc: Add width field to struct pdc_model PCI: keystone: Don't discard .probe() callback PCI: keystone: Don't discard .remove() callback genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware mmc: meson-gx: Remove setting of CMD_CFG_ERROR PCI/sysfs: Protect driver's D3cold preference from user space hvc/xen: fix error path in xen_hvc_init() to always register frontend driver audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare() audit: don't take task_lock() in audit_exe_compare() code path KVM: x86: Ignore MSR_AMD64_TW_CFG access randstruct: Fix gcc-plugin performance mode to stay in group media: venus: hfi: add checks to perform sanity on queue pointers cifs: spnego: add ';' in HOST_KEY_LEN macvlan: Don't propagate promisc change to lower dev in passthru net: ethernet: cortina: Fix MTU max setting net: ethernet: cortina: Handle large frames net: ethernet: cortina: Fix max RX frame define ptp: annotate data-race around q->head and q->tail xen/events: fix delayed eoi list handling ppp: limit MRU to 64K tipc: Fix kernel-infoleak due to uninitialized TLV value tty: Fix uninit-value access in ppp_sync_receive() ipvlan: add ipvlan_route_v6_outbound() helper NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO pwm: Fix double shift bug drm/amd/display: Avoid NULL dereference of timing generator gfs2: ignore negated quota changes media: vivid: avoid integer overflow media: gspca: cpia1: shift-out-of-bounds in set_flicker i2c: sun6i-p2wi: Prevent potential division by zero usb: gadget: f_ncm: Always set current gadget in ncm_bind() tty: vcc: Add check for kstrdup() in vcc_probe() HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup() atm: iphase: Do PCI error checks on own line ALSA: hda: Fix possible null-ptr-deref when assigning a stream ARM: 9320/1: fix stack depot IRQ stack filter jfs: fix array-index-out-of-bounds in diAlloc jfs: fix array-index-out-of-bounds in dbFindLeaf fs/jfs: Add validity check for db_maxag and db_agpref fs/jfs: Add check for negative db_l2nbperpage RDMA/hfi1: Use FIELD_GET() to extract Link Width crypto: pcrypt - Fix hungtask for PADATA_RESET selftests/efivarfs: create-read: fix a resource leak drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7 platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e Bluetooth: Fix double free in hci_conn_cleanup net: annotate data-races around sk->sk_dst_pending_confirm net: annotate data-races around sk->sk_tx_queue_mapping wifi: ath10k: fix clang-specific fortify warning wifi: ath9k: fix clang-specific fortify warnings wifi: mac80211: don't return unset power in ieee80211_get_tx_power() x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware clocksource/drivers/timer-imx-gpt: Fix potential memory leak perf/core: Bail out early if the request AUX area is out of bound locking/ww_mutex/test: Fix potential workqueue corruption Revert "ipvlan: properly track tx_errors" ANDROID: fix up platform_device ABI break Linux 4.19.299 btrfs: use u64 for buffer sizes in the tree search ioctls Revert "mmc: core: Capture correct oemid-bits for eMMC cards" fbdev: fsl-diu-fb: mark wr_reg_wa() static fbdev: imsttfb: fix a resource leak in probe fbdev: imsttfb: Fix error path of imsttfb_probe() netfilter: xt_recent: fix (increase) ipv6 literal buffer length r8169: respect userspace disabling IFF_MULTICAST tg3: power down device only on SYSTEM_POWER_OFF net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT net/smc: wait for pending work before clcsock release_sock net/smc: postpone release of clcsock net: r8169: Disable multicast filter for RTL8168H and RTL8107E r8169: improve rtl_set_rx_mode dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses. dccp: Call security_inet_conn_request() after setting IPv4 addresses. tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING llc: verify mac len before reading mac header Input: synaptics-rmi4 - fix use after free in rmi_unregister_function() pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume pwm: sti: Reduce number of allocations and drop usage of chip_data pwm: sti: Avoid conditional gotos media: dvb-usb-v2: af9035: fix missing unlock media: s3c-camif: Avoid inappropriate kfree() media: bttv: fix use after free error due to btv->timeout timer pcmcia: ds: fix possible name leak in error path in pcmcia_device_add() pcmcia: ds: fix refcount leak in pcmcia_device_add() pcmcia: cs: fix possible hung task and memory leak pccardd() f2fs: fix to initialize map.m_pblk in f2fs_precache_extents() dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc() USB: usbip: fix stub_dev hub disconnect tools: iio: iio_generic_buffer ensure alignment tools: iio: iio_generic_buffer: Fix some integer type and calculation tools: iio: privatize globals and functions in iio_generic_buffer.c file misc: st_core: Do not call kfree_skb() under spin_lock_irqsave() dmaengine: ti: edma: handle irq_of_parse_and_map() errors usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency tty: tty_jobctrl: fix pid memleak in disassociate_ctty() leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu' ledtrig-cpu: Limit to 8 CPUs leds: pwm: Don't disable the PWM when the LED should be off leds: pwm: convert to atomic PWM API leds: pwm: simplify if condition mfd: dln2: Fix double put in dln2_probe ASoC: ams-delta.c: use component after check ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails sh: bios: Revive earlyprintk support RDMA/hfi1: Workaround truncation compilation error ext4: move 'ix' sanity check to corrent position ARM: 9321/1: memset: cast the constant byte to unsigned char hid: cp2112: Fix duplicate workqueue initialization HID: cp2112: Use irqchip template nd_btt: Make BTT lanes preemptible sched/rt: Provide migrate_disable/enable() inlines hwrng: geode - fix accessing registers clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped firmware: ti_sci: Mark driver as non removable ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe() drm/radeon: possible buffer overflow drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs hwmon: (coretemp) Fix potentially truncated sysfs attribute name platform/x86: wmi: Fix opening of char device platform/x86: wmi: remove unnecessary initializations platform/x86: wmi: Fix probe failure when failing to register WMI devices clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data clk: npcm7xx: Fix incorrect kfree clk: keystone: pll: fix a couple NULL vs IS_ERR() checks clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies regmap: debugfs: Fix a erroneous check after snprintf() ipvlan: properly track tx_errors net: add DEV_STATS_READ() helper macsec: use DEV_STATS_INC() macsec: Fix traffic counters/statistics ipv6: avoid atomic fragment on GSO packets ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias() chtls: fix tp->rcv_tstamp initialization thermal: core: prevent potential string overflow can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on() can: dev: can_restart(): don't crash kernel if carrier is OK can: dev: move driver related infrastructure into separate subdir wifi: rtlwifi: fix EDCA limit set by BT coexistence tcp_metrics: do not create an entry from tcp_init_metrics() tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics() tcp_metrics: add missing barriers on delete i40e: fix potential memory leaks in i40e_remove() genirq/matrix: Exclude managed interrupts in irq_matrix_allocated() vfs: fix readahead(2) on block devices Linux 4.19.298 tty: 8250: Add support for Intashield IS-100 tty: 8250: Add support for Brainboxes UP cards tty: 8250: Add support for additional Brainboxes UC cards tty: 8250: Remove UC-257 and UC-431 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device remove the sx8 block driver ata: ahci: fix enum constants for gcc-13 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e scsi: mpt3sas: Fix in error path fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit() ASoC: rt5650: fix the wrong result of key button netfilter: nfnetlink_log: silence bogus compiler warning fbdev: atyfb: only use ioremap_uc() on i386 and ia64 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe irqchip/stm32-exti: add missing DT IRQ flag translation Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table ASoC: simple-card: fixup asoc_simple_probe() error handling MAINTAINERS: r8169: Update path to the driver x86: Fix .brk attribute in linker script rpmsg: Fix possible refcount leak in rpmsg_register_device_override() rpmsg: glink: Release driver_override rpmsg: Fix calling device_lock() on non-initialized device rpmsg: Fix kfree() of static memory on setting driver_override rpmsg: Constify local variable in field store macro driver: platform: Add helper for safer setting of driver_override x86/mm: Fix RESERVE_BRK() for older binutils x86/mm: Simplify RESERVE_BRK() nfsd: lock_rename() needs both directories to live on the same fs f2fs: fix to do sanity check on inode type during garbage collection smbdirect: missing rc checks while waiting for rdma events kobject: Fix slab-out-of-bounds in fill_kobj_path() arm64: fix a concurrency issue in emulation_proc_handler() drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper() ARM: 8933/1: replace Sun/Solaris style flag on section directive NFS: Don't call generic_error_remove_page() while holding locks x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility iio: exynos-adc: request second interupt only when touchscreen mode is used perf/core: Fix potential NULL deref nvmem: imx: correct nregs for i.MX6UL nvmem: imx: correct nregs for i.MX6SLL i2c: stm32f7: Fix PEC handling in case of SMBUS transfers i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node() i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node() i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node() i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR gtp: fix fragmentation needed check with gso igb: Fix potential memory leak in igb_add_ethtool_nfc_entry treewide: Spelling fix in comment r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1 r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1 r8169: rename r8169.c to r8169_main.c virtio-mmio: fix memory leak of vm_dev virtio_balloon: Fix endless deflation and inflation on arm64 mcb-lpc: Reallocate memory region to avoid memory overlapping mcb: Return actual parsed size when reading chameleon table selftests/ftrace: Add new test case which checks non unique symbol mmc: core: sdio: hold retuning if sdio in 1-bit mode mmc: sdio: Don't re-initialize powered-on removable SDIO cards at resume Conflicts: drivers/clk/qcom/clk-rcg2.c drivers/leds/leds-pwm.c drivers/mmc/core/sdio.c drivers/rpmsg/qcom_glink_native.c drivers/thermal/thermal_core.c drivers/usb/gadget/function/f_ncm.c Change-Id: I230a2c820e39dd863a874bfc0c7a411896b0ba9c |
||
|
|
2be68b65c5 |
qcacld-3.0: Ignore CSA request for invalid channel
In present scenario, STA disconnects with AP if it receives invalid channel in CSA IE. In this case STA shouldn't disconnect with AP as this request may come from a spoof AP. Ignore this CSA request as it might be from spoof AP and if it is from genuine AP heart beat failure happens and results in disconnection. After disconnection DUT may reconnect to same or other APs. Mot-CRs-fixed: (CR) CVE-Fixed: CVE-2023-28584 Bug: 285903061 Change-Id: Ied7911da42f1c46a4431b46f57679a686a2f1f24 CRs-Fixed: 3390251 Signed-off-by: Ashutosh Verma <ashverma@motorola.com> Change-Id: Ied7911da42f1c46a4431b46f57679a686a2f1f24 Reviewed-on: https://gerrit.mot.com/2705280 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key |
||
|
|
11806753ba |
Merge 4.19.300 into android-4.19-stable
Changes in 4.19.300 locking/ww_mutex/test: Fix potential workqueue corruption perf/core: Bail out early if the request AUX area is out of bound clocksource/drivers/timer-imx-gpt: Fix potential memory leak clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size wifi: mac80211: don't return unset power in ieee80211_get_tx_power() wifi: ath9k: fix clang-specific fortify warnings wifi: ath10k: fix clang-specific fortify warning net: annotate data-races around sk->sk_tx_queue_mapping net: annotate data-races around sk->sk_dst_pending_confirm Bluetooth: Fix double free in hci_conn_cleanup platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7 drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL selftests/efivarfs: create-read: fix a resource leak crypto: pcrypt - Fix hungtask for PADATA_RESET RDMA/hfi1: Use FIELD_GET() to extract Link Width fs/jfs: Add check for negative db_l2nbperpage fs/jfs: Add validity check for db_maxag and db_agpref jfs: fix array-index-out-of-bounds in dbFindLeaf jfs: fix array-index-out-of-bounds in diAlloc ARM: 9320/1: fix stack depot IRQ stack filter ALSA: hda: Fix possible null-ptr-deref when assigning a stream atm: iphase: Do PCI error checks on own line scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup() HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W tty: vcc: Add check for kstrdup() in vcc_probe() usb: gadget: f_ncm: Always set current gadget in ncm_bind() i2c: sun6i-p2wi: Prevent potential division by zero media: gspca: cpia1: shift-out-of-bounds in set_flicker media: vivid: avoid integer overflow gfs2: ignore negated quota changes drm/amd/display: Avoid NULL dereference of timing generator pwm: Fix double shift bug NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO ipvlan: add ipvlan_route_v6_outbound() helper tty: Fix uninit-value access in ppp_sync_receive() tipc: Fix kernel-infoleak due to uninitialized TLV value ppp: limit MRU to 64K xen/events: fix delayed eoi list handling ptp: annotate data-race around q->head and q->tail net: ethernet: cortina: Fix max RX frame define net: ethernet: cortina: Handle large frames net: ethernet: cortina: Fix MTU max setting macvlan: Don't propagate promisc change to lower dev in passthru cifs: spnego: add ';' in HOST_KEY_LEN media: venus: hfi: add checks to perform sanity on queue pointers randstruct: Fix gcc-plugin performance mode to stay in group KVM: x86: Ignore MSR_AMD64_TW_CFG access audit: don't take task_lock() in audit_exe_compare() code path audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare() hvc/xen: fix error path in xen_hvc_init() to always register frontend driver PCI/sysfs: Protect driver's D3cold preference from user space mmc: meson-gx: Remove setting of CMD_CFG_ERROR genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware PCI: keystone: Don't discard .remove() callback PCI: keystone: Don't discard .probe() callback parisc/pdc: Add width field to struct pdc_model clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks mmc: vub300: fix an error code PM: hibernate: Use __get_safe_page() rather than touching the list PM: hibernate: Clean up sync_read handling in snapshot_write_next() jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev quota: explicitly forbid quota files from being encrypted mcb: fix error handling for different scenarios when parsing dmaengine: stm32-mdma: correct desc prep when channel running parisc: Prevent booting 64-bit kernels on PA1.x machines parisc/pgtable: Do not drop upper 5 address bits of physical address ALSA: info: Fix potential deadlock at disconnection ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC tty: serial: meson: if no alias specified use an available id serial: meson: remove redundant initialization of variable id tty: serial: meson: retrieve port FIFO size from DT serial: meson: Use platform_get_irq() to get the interrupt tty: serial: meson: fix hard LOCKUP on crtscts mode net: dsa: lan9303: consequently nested-lock physical MDIO i2c: i801: fix potential race in i801_block_transaction_byte_by_byte media: lirc: drop trailing space from scancode transmit media: sharp: fix sharp encoding media: venus: hfi_parser: Add check to keep the number of codecs within range media: venus: hfi: fix the check to handle session buffer requirement media: venus: hfi: add checks to handle capabilities from firmware Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E" ext4: apply umask if ACL support is disabled ext4: correct offset of gdb backup in non meta_bg group to update_backups ext4: correct return value of ext4_convert_meta_bg ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks drm/amdgpu: fix error handling in amdgpu_bo_list_get() scsi: virtio_scsi: limit number of hw queues by nr_cpu_ids iomap: Set all uptodate bits for an Uptodate page net: sched: fix race condition in qdisc_graft() Linux 4.19.300 Change-Id: I21f68d5f5dc85afe62bbc6e9a7aac12faee56621 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> |
||
|
|
5ef7ecbc4e |
fixup! qcacld-3.0: Use freq hint in scan for ssid
Change-Id: I87d3838bc6adbf0b69db652fa0820e6f7f732ea5 |
||
|
|
dad736de6d |
Revert "macsec: use DEV_STATS_INC()"
This reverts commit
|
||
|
|
6af7aa9e1b |
Revert "net: add DEV_STATS_READ() helper"
This reverts commit
|
||
|
|
8f40a98744 |
Revert "qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr"
This reverts commit 9d226c736c0a33b0ff0eeeed9f1d59fdd1965415. "wma_find_vdev_id_by_addr" returns QDF_STATUS so the original code was correct. Change-Id: I47fab8e776d6787e426235bf073b9d62e1a4e6f2 Reviewed-on: https://gerrit.mot.com/2658239 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Bin Liu <liubin7@motorola.com> Tested-by: Navya Vijayan <navya@motorola.com> Submit-Approved: Jira Key (cherry picked from commit f858d4c4688e93192df150f428f0b13b8522a226) |
||
|
|
715a9dc0d2 |
qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr
The function 'wma_find_vdev_by_addr' returns pointer to cdp_vdev, so should avoid to comapre with QDF_STATUS_SUCCESS. Change-Id: Ia302fcc8e705cc01a27bd1dce9f7cb09a8ef29b0 CRs-Fixed: 3346764 Mot-CRs-fixed: (CR) CVE- fixed: CVE-2023-21669 QC-CR#3346764 Signed-off-by: Sipra Patel <siprap@motorola.com> Change-Id: Ia302fcc8e705cc01a27bd1dce9f7cb09a8ef29b0 Reviewed-on: https://gerrit.mot.com/2594389 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Zhengjie Zhu <zhuzj5@motorola.com> Reviewed-by: Bin Liu <liubin7@motorola.com> Submit-Approved: Jira Key |
||
|
|
3bcae3a9c0 |
qcacld-3.0: Fix OOB in wma_scan_roam.c
Currently in wma_extscan_hotlist_match_event_handler API, dest_hotlist get memory allocation based on numap which takes value from event->total_entries. But numap is limited to WMA_EXTSCAN_MAX_HOTLIST_ENTRIES and event->total_entries more than WMA_EXTSCAN_MAX_HOTLIST_ENTRIES can cause out of bound issue. Fix is to populate dest_hotlist->numOfAps from numap instead of event->total_entries to avoid any out of bound issue. Change-Id: If8c5de81bec2cf2a1a6546a4319e41e9b07a139d CRs-Fixed: 3346781 Mot-CRs-fixed: (CR) CVE- fixed: CVE-2023-21656 QC-CR#3346781 Signed-off-by: Sipra Patel <siprap@motorola.com> Change-Id: If8c5de81bec2cf2a1a6546a4319e41e9b07a139d Reviewed-on: https://gerrit.mot.com/2594249 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Zhengjie Zhu <zhuzj5@motorola.com> Reviewed-by: Bin Liu <liubin7@motorola.com> Submit-Approved: Jira Key |
||
|
|
979b2ade80 |
Linux 4.19.300
Link: https://lore.kernel.org/r/20231124171934.122298957@linuxfoundation.org Link: https://lore.kernel.org/r/20231125163104.203147306@linuxfoundation.org Tested-by: Pavel Machek (CIP) <pavel@denx.de> Link: https://lore.kernel.org/r/20231126154323.146332656@linuxfoundation.org Tested-by: Linux Kernel Functional Testing <lkft@linaro.org> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|
|
f782929b90 |
net: sched: fix race condition in qdisc_graft()
commit ebda44da44f6f309d302522b049f43d6f829f7aa upstream.
We had one syzbot report [1] in syzbot queue for a while.
I was waiting for more occurrences and/or a repro but
Dmitry Vyukov spotted the issue right away.
<quoting Dmitry>
qdisc_graft() drops reference to qdisc in notify_and_destroy
while it's still assigned to dev->qdisc
</quoting>
Indeed, RCU rules are clear when replacing a data structure.
The visible pointer (dev->qdisc in this case) must be updated
to the new object _before_ RCU grace period is started
(qdisc_put(old) in this case).
[1]
BUG: KASAN: use-after-free in __tcf_qdisc_find.part.0+0xa3a/0xac0 net/sched/cls_api.c:1066
Read of size 4 at addr ffff88802065e038 by task syz-executor.4/21027
CPU: 0 PID: 21027 Comm: syz-executor.4 Not tainted 6.0.0-rc3-syzkaller-00363-g7726d4c3e60b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
print_address_description mm/kasan/report.c:317 [inline]
print_report.cold+0x2ba/0x719 mm/kasan/report.c:433
kasan_report+0xb1/0x1e0 mm/kasan/report.c:495
__tcf_qdisc_find.part.0+0xa3a/0xac0 net/sched/cls_api.c:1066
__tcf_qdisc_find net/sched/cls_api.c:1051 [inline]
tc_new_tfilter+0x34f/0x2200 net/sched/cls_api.c:2018
rtnetlink_rcv_msg+0x955/0xca0 net/core/rtnetlink.c:6081
netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:734
____sys_sendmsg+0x6eb/0x810 net/socket.c:2482
___sys_sendmsg+0x110/0x1b0 net/socket.c:2536
__sys_sendmsg+0xf3/0x1c0 net/socket.c:2565
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5efaa89279
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5efbc31168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f5efab9bf80 RCX: 00007f5efaa89279
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005
RBP: 00007f5efaae32e9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5efb0cfb1f R14: 00007f5efbc31300 R15: 0000000000022000
</TASK>
Allocated by task 21027:
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:45 [inline]
set_alloc_info mm/kasan/common.c:437 [inline]
____kasan_kmalloc mm/kasan/common.c:516 [inline]
____kasan_kmalloc mm/kasan/common.c:475 [inline]
__kasan_kmalloc+0xa9/0xd0 mm/kasan/common.c:525
kmalloc_node include/linux/slab.h:623 [inline]
kzalloc_node include/linux/slab.h:744 [inline]
qdisc_alloc+0xb0/0xc50 net/sched/sch_generic.c:938
qdisc_create_dflt+0x71/0x4a0 net/sched/sch_generic.c:997
attach_one_default_qdisc net/sched/sch_generic.c:1152 [inline]
netdev_for_each_tx_queue include/linux/netdevice.h:2437 [inline]
attach_default_qdiscs net/sched/sch_generic.c:1170 [inline]
dev_activate+0x760/0xcd0 net/sched/sch_generic.c:1229
__dev_open+0x393/0x4d0 net/core/dev.c:1441
__dev_change_flags+0x583/0x750 net/core/dev.c:8556
rtnl_configure_link+0xee/0x240 net/core/rtnetlink.c:3189
rtnl_newlink_create net/core/rtnetlink.c:3371 [inline]
__rtnl_newlink+0x10b8/0x17e0 net/core/rtnetlink.c:3580
rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3593
rtnetlink_rcv_msg+0x43a/0xca0 net/core/rtnetlink.c:6090
netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:734
____sys_sendmsg+0x6eb/0x810 net/socket.c:2482
___sys_sendmsg+0x110/0x1b0 net/socket.c:2536
__sys_sendmsg+0xf3/0x1c0 net/socket.c:2565
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
Freed by task 21020:
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
kasan_set_track+0x21/0x30 mm/kasan/common.c:45
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:367 [inline]
____kasan_slab_free+0x166/0x1c0 mm/kasan/common.c:329
kasan_slab_free include/linux/kasan.h:200 [inline]
slab_free_hook mm/slub.c:1754 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1780
slab_free mm/slub.c:3534 [inline]
kfree+0xe2/0x580 mm/slub.c:4562
rcu_do_batch kernel/rcu/tree.c:2245 [inline]
rcu_core+0x7b5/0x1890 kernel/rcu/tree.c:2505
__do_softirq+0x1d3/0x9c6 kernel/softirq.c:571
Last potentially related work creation:
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
__kasan_record_aux_stack+0xbe/0xd0 mm/kasan/generic.c:348
call_rcu+0x99/0x790 kernel/rcu/tree.c:2793
qdisc_put+0xcd/0xe0 net/sched/sch_generic.c:1083
notify_and_destroy net/sched/sch_api.c:1012 [inline]
qdisc_graft+0xeb1/0x1270 net/sched/sch_api.c:1084
tc_modify_qdisc+0xbb7/0x1a00 net/sched/sch_api.c:1671
rtnetlink_rcv_msg+0x43a/0xca0 net/core/rtnetlink.c:6090
netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:734
____sys_sendmsg+0x6eb/0x810 net/socket.c:2482
___sys_sendmsg+0x110/0x1b0 net/socket.c:2536
__sys_sendmsg+0xf3/0x1c0 net/socket.c:2565
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
Second to last potentially related work creation:
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
__kasan_record_aux_stack+0xbe/0xd0 mm/kasan/generic.c:348
kvfree_call_rcu+0x74/0x940 kernel/rcu/tree.c:3322
neigh_destroy+0x431/0x630 net/core/neighbour.c:912
neigh_release include/net/neighbour.h:454 [inline]
neigh_cleanup_and_release+0x1f8/0x330 net/core/neighbour.c:103
neigh_del net/core/neighbour.c:225 [inline]
neigh_remove_one+0x37d/0x460 net/core/neighbour.c:246
neigh_forced_gc net/core/neighbour.c:276 [inline]
neigh_alloc net/core/neighbour.c:447 [inline]
___neigh_create+0x18b5/0x29a0 net/core/neighbour.c:642
ip6_finish_output2+0xfb8/0x1520 net/ipv6/ip6_output.c:125
__ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
ip6_finish_output+0x690/0x1160 net/ipv6/ip6_output.c:206
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip6_output+0x1ed/0x540 net/ipv6/ip6_output.c:227
dst_output include/net/dst.h:451 [inline]
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
mld_sendpack+0xa09/0xe70 net/ipv6/mcast.c:1820
mld_send_cr net/ipv6/mcast.c:2121 [inline]
mld_ifc_work+0x71c/0xdc0 net/ipv6/mcast.c:2653
process_one_work+0x991/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
The buggy address belongs to the object at ffff88802065e000
which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 56 bytes inside of
1024-byte region [ffff88802065e000, ffff88802065e400)
The buggy address belongs to the physical page:
page:ffffea0000819600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x20658
head:ffffea0000819600 order:3 compound_mapcount:0 compound_pincount:0
flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000010200 0000000000000000 dead000000000001 ffff888011841dc0
raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 3523, tgid 3523 (sshd), ts 41495190986, free_ts 41417713212
prep_new_page mm/page_alloc.c:2532 [inline]
get_page_from_freelist+0x109b/0x2ce0 mm/page_alloc.c:4283
__alloc_pages+0x1c7/0x510 mm/page_alloc.c:5515
alloc_pages+0x1a6/0x270 mm/mempolicy.c:2270
alloc_slab_page mm/slub.c:1824 [inline]
allocate_slab+0x27e/0x3d0 mm/slub.c:1969
new_slab mm/slub.c:2029 [inline]
___slab_alloc+0x7f1/0xe10 mm/slub.c:3031
__slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3118
slab_alloc_node mm/slub.c:3209 [inline]
__kmalloc_node_track_caller+0x2f2/0x380 mm/slub.c:4955
kmalloc_reserve net/core/skbuff.c:358 [inline]
__alloc_skb+0xd9/0x2f0 net/core/skbuff.c:430
alloc_skb_fclone include/linux/skbuff.h:1307 [inline]
tcp_stream_alloc_skb+0x38/0x580 net/ipv4/tcp.c:861
tcp_sendmsg_locked+0xc36/0x2f80 net/ipv4/tcp.c:1325
tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1483
inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:734
sock_write_iter+0x291/0x3d0 net/socket.c:1108
call_write_iter include/linux/fs.h:2187 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x9e9/0xdd0 fs/read_write.c:578
ksys_write+0x1e8/0x250 fs/read_write.c:631
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1449 [inline]
free_pcp_prepare+0x5e4/0xd20 mm/page_alloc.c:1499
free_unref_page_prepare mm/page_alloc.c:3380 [inline]
free_unref_page+0x19/0x4d0 mm/page_alloc.c:3476
__unfreeze_partials+0x17c/0x1a0 mm/slub.c:2548
qlink_free mm/kasan/quarantine.c:168 [inline]
qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:447
kasan_slab_alloc include/linux/kasan.h:224 [inline]
slab_post_alloc_hook mm/slab.h:727 [inline]
slab_alloc_node mm/slub.c:3243 [inline]
slab_alloc mm/slub.c:3251 [inline]
__kmem_cache_alloc_lru mm/slub.c:3258 [inline]
kmem_cache_alloc+0x267/0x3b0 mm/slub.c:3268
kmem_cache_zalloc include/linux/slab.h:723 [inline]
alloc_buffer_head+0x20/0x140 fs/buffer.c:2974
alloc_page_buffers+0x280/0x790 fs/buffer.c:829
create_empty_buffers+0x2c/0xee0 fs/buffer.c:1558
ext4_block_write_begin+0x1004/0x1530 fs/ext4/inode.c:1074
ext4_da_write_begin+0x422/0xae0 fs/ext4/inode.c:2996
generic_perform_write+0x246/0x560 mm/filemap.c:3738
ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:270
ext4_file_write_iter+0x44a/0x1660 fs/ext4/file.c:679
call_write_iter include/linux/fs.h:2187 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x9e9/0xdd0 fs/read_write.c:578
Fixes:
|
||
|
|
0cf5544469 |
iomap: Set all uptodate bits for an Uptodate page
commit 4595a298d5563cf76c1d852970f162051fd1a7a6 upstream.
For filesystems with block size < page size, we need to set all the
per-block uptodate bits if the page was already uptodate at the time
we create the per-block metadata. This can happen if the page is
invalidated (eg by a write to drop_caches) but ultimately not removed
from the page cache.
This is a data corruption issue as page writeback skips blocks which
are marked !uptodate.
Fixes:
|
||
|
|
7907729cc5 |
scsi: virtio_scsi: limit number of hw queues by nr_cpu_ids
commit 1978f30a87732d4d9072a20abeded9fe17884f1b upstream. When tag_set->nr_maps is 1, the block layer limits the number of hw queues by nr_cpu_ids. No matter how many hw queues are used by virtio-scsi, as it has (tag_set->nr_maps == 1), it can use at most nr_cpu_ids hw queues. In addition, specifically for pci scenario, when the 'num_queues' specified by qemu is more than maxcpus, virtio-scsi would not be able to allocate more than maxcpus vectors in order to have a vector for each queue. As a result, it falls back into MSI-X with one vector for config and one shared for queues. Considering above reasons, this patch limits the number of hw queues used by virtio-scsi by nr_cpu_ids. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Kunkun Jiang <jiangkunkun@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|
|
b952a09c78 |
drm/amdgpu: fix error handling in amdgpu_bo_list_get()
commit 12f76050d8d4d10dab96333656b821bd4620d103 upstream. We should not leak the pointer where we couldn't grab the reference on to the caller because it can be that the error handling still tries to put the reference then. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|
|
e9cafc688b |
ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
commit 40dd7953f4d606c280074f10d23046b6812708ce upstream.
Wrong check of gdb backup in meta bg as following:
first_group is the first group of meta_bg which contains target group, so
target group is always >= first_group. We check if target group has gdb
backup by comparing first_group with [group + 1] and [group +
EXT4_DESC_PER_BLOCK(sb) - 1]. As group >= first_group, then [group + N] is
> first_group. So no copy of gdb backup in meta bg is done in
setup_new_flex_group_blocks.
No need to do gdb backup copy in meta bg from setup_new_flex_group_blocks
as we always copy updated gdb block to backups at end of
ext4_flex_group_add as following:
ext4_flex_group_add
/* no gdb backup copy for meta bg any more */
setup_new_flex_group_blocks
/* update current group number */
ext4_update_super
sbi->s_groups_count += flex_gd->count;
/*
* if group in meta bg contains backup is added, the primary gdb block
* of the meta bg will be copy to backup in new added group here.
*/
for (; gdb_num <= gdb_num_end; gdb_num++)
update_backups(...)
In summary, we can remove wrong gdb backup copy code in
setup_new_flex_group_blocks.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230826174712.4059355-5-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||
|
|
5f209e49bc |
ext4: correct return value of ext4_convert_meta_bg
commit 48f1551592c54f7d8e2befc72a99ff4e47f7dca0 upstream. Avoid to ignore error in "err". Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Link: https://lore.kernel.org/r/20230826174712.4059355-4-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|
|
8fceeaed22 |
ext4: correct offset of gdb backup in non meta_bg group to update_backups
commit 31f13421c004a420c0e9d288859c9ea9259ea0cc upstream.
Commit 0aeaa2559d6d5 ("ext4: fix corruption when online resizing a 1K
bigalloc fs") found that primary superblock's offset in its group is
not equal to offset of backup superblock in its group when block size
is 1K and bigalloc is enabled. As group descriptor blocks are right
after superblock, we can't pass block number of gdb to update_backups
for the same reason.
The root casue of the issue above is that leading 1K padding block is
count as data block offset for primary block while backup block has no
padding block offset in its group.
Remove padding data block count to fix the issue for gdb backups.
For meta_bg case, update_backups treat blk_off as block number, do no
conversion in this case.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230826174712.4059355-2-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||
|
|
80c85deccd |
ext4: apply umask if ACL support is disabled
commit 484fd6c1de13b336806a967908a927cc0356e312 upstream. The function ext4_init_acl() calls posix_acl_create() which is responsible for applying the umask. But without CONFIG_EXT4_FS_POSIX_ACL, ext4_init_acl() is an empty inline function, and nobody applies the umask. This fixes a bug which causes the umask to be ignored with O_TMPFILE on ext4: https://github.com/MusicPlayerDaemon/MPD/issues/558 https://bugs.gentoo.org/show_bug.cgi?id=686142#c3 https://bugzilla.kernel.org/show_bug.cgi?id=203625 Reviewed-by: "J. Bruce Fields" <bfields@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Max Kellermann <max.kellermann@ionos.com> Link: https://lore.kernel.org/r/20230919081824.1096619-1-max.kellermann@ionos.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|
|
ff442ca56f |
Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
commit 6a26310273c323380da21eb23fcfd50e31140913 upstream. This reverts commit efa5f1311c4998e9e6317c52bc5ee93b3a0f36df. I couldn't reproduce the reported issue. What I did, based on a pcap packet log provided by the reporter: - Used same chip version (RTL8168h) - Set MAC address to the one used on the reporters system - Replayed the EAPOL unicast packet that, according to the reporter, was filtered out by the mc filter. The packet was properly received. Therefore the root cause of the reported issue seems to be somewhere else. Disabling mc filtering completely for the most common chip version is a quite big hammer. Therefore revert the change and wait for further analysis results from the reporter. Cc: stable@vger.kernel.org Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|
|
f784a9a899 |
media: venus: hfi: add checks to handle capabilities from firmware
commit 8d0b89398b7ebc52103e055bf36b60b045f5258f upstream.
The hfi parser, parses the capabilities received from venus firmware and
copies them to core capabilities. Consider below api, for example,
fill_caps - In this api, caps in core structure gets updated with the
number of capabilities received in firmware data payload. If the same api
is called multiple times, there is a possibility of copying beyond the max
allocated size in core caps.
Similar possibilities in fill_raw_fmts and fill_profile_level functions.
Cc: stable@vger.kernel.org
Fixes:
|
||
|
|
c5223e87a4 |
media: venus: hfi: fix the check to handle session buffer requirement
commit b18e36dfd6c935da60a971310374f3dfec3c82e1 upstream.
Buffer requirement, for different buffer type, comes from video firmware.
While copying these requirements, there is an OOB possibility when the
payload from firmware is more than expected size. Fix the check to avoid
the OOB possibility.
Cc: stable@vger.kernel.org
Fixes:
|
||
|
|
4831e9f237 |
media: venus: hfi_parser: Add check to keep the number of codecs within range
commit 0768a9dd809ef52440b5df7dce5a1c1c7e97abbd upstream.
Supported codec bitmask is populated from the payload from venus firmware.
There is a possible case when all the bits in the codec bitmask is set. In
such case, core cap for decoder is filled and MAX_CODEC_NUM is utilized.
Now while filling the caps for encoder, it can lead to access the caps
array beyong 32 index. Hence leading to OOB write.
The fix counts the supported encoder and decoder. If the count is more than
max, then it skips accessing the caps.
Cc: stable@vger.kernel.org
Fixes:
|
||
|
|
480058cf0d |
media: sharp: fix sharp encoding
commit 4f7efc71891462ab7606da7039f480d7c1584a13 upstream.
The Sharp protocol[1] encoding has incorrect timings for bit space.
[1] https://www.sbprojects.net/knowledge/ir/sharp.php
Fixes:
|
||
|
|
89287f95ee |
media: lirc: drop trailing space from scancode transmit
commit c8a489f820179fb12251e262b50303c29de991ac upstream.
When transmitting, infrared drivers expect an odd number of samples; iow
without a trailing space. No problems have been observed so far, so
this is just belt and braces.
Fixes:
|
||
|
|
dff1af8fec |
i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
commit f78ca48a8ba9cdec96e8839351e49eec3233b177 upstream. Currently we set SMBHSTCNT_LAST_BYTE only after the host has started receiving the last byte. If we get e.g. preempted before setting SMBHSTCNT_LAST_BYTE, the host may be finished with receiving the byte before SMBHSTCNT_LAST_BYTE is set. Therefore change the code to set SMBHSTCNT_LAST_BYTE before writing SMBHSTSTS_BYTE_DONE for the byte before the last byte. Now the code is also consistent with what we do in i801_isr_byte_done(). Reported-by: Jean Delvare <jdelvare@suse.com> Closes: https://lore.kernel.org/linux-i2c/20230828152747.09444625@endymion.delvare/ Cc: stable@vger.kernel.org Acked-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|
|
3f1b7cf060 |
net: dsa: lan9303: consequently nested-lock physical MDIO
commit 5a22fbcc10f3f7d94c5d88afbbffa240a3677057 upstream.
When LAN9303 is MDIO-connected two callchains exist into
mdio->bus->write():
1. switch ports 1&2 ("physical" PHYs):
virtual (switch-internal) MDIO bus (lan9303_switch_ops->phy_{read|write})->
lan9303_mdio_phy_{read|write} -> mdiobus_{read|write}_nested
2. LAN9303 virtual PHY:
virtual MDIO bus (lan9303_phy_{read|write}) ->
lan9303_virt_phy_reg_{read|write} -> regmap -> lan9303_mdio_{read|write}
If the latter functions just take
mutex_lock(&sw_dev->device->bus->mdio_lock) it triggers a LOCKDEP
false-positive splat. It's false-positive because the first
mdio_lock in the second callchain above belongs to virtual MDIO bus, the
second mdio_lock belongs to physical MDIO bus.
Consequent annotation in lan9303_mdio_{read|write} as nested lock
(similar to lan9303_mdio_phy_{read|write}, it's the same physical MDIO bus)
prevents the following splat:
WARNING: possible circular locking dependency detected
5.15.71 #1 Not tainted
------------------------------------------------------
kworker/u4:3/609 is trying to acquire lock:
ffff000011531c68 (lan9303_mdio:131:(&lan9303_mdio_regmap_config)->lock){+.+.}-{3:3}, at: regmap_lock_mutex
but task is already holding lock:
ffff0000114c44d8 (&bus->mdio_lock){+.+.}-{3:3}, at: mdiobus_read
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #1 (&bus->mdio_lock){+.+.}-{3:3}:
lock_acquire
__mutex_lock
mutex_lock_nested
lan9303_mdio_read
_regmap_read
regmap_read
lan9303_probe
lan9303_mdio_probe
mdio_probe
really_probe
__driver_probe_device
driver_probe_device
__device_attach_driver
bus_for_each_drv
__device_attach
device_initial_probe
bus_probe_device
deferred_probe_work_func
process_one_work
worker_thread
kthread
ret_from_fork
-> #0 (lan9303_mdio:131:(&lan9303_mdio_regmap_config)->lock){+.+.}-{3:3}:
__lock_acquire
lock_acquire.part.0
lock_acquire
__mutex_lock
mutex_lock_nested
regmap_lock_mutex
regmap_read
lan9303_phy_read
dsa_slave_phy_read
__mdiobus_read
mdiobus_read
get_phy_device
mdiobus_scan
__mdiobus_register
dsa_register_switch
lan9303_probe
lan9303_mdio_probe
mdio_probe
really_probe
__driver_probe_device
driver_probe_device
__device_attach_driver
bus_for_each_drv
__device_attach
device_initial_probe
bus_probe_device
deferred_probe_work_func
process_one_work
worker_thread
kthread
ret_from_fork
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&bus->mdio_lock);
lock(lan9303_mdio:131:(&lan9303_mdio_regmap_config)->lock);
lock(&bus->mdio_lock);
lock(lan9303_mdio:131:(&lan9303_mdio_regmap_config)->lock);
*** DEADLOCK ***
5 locks held by kworker/u4:3/609:
#0: ffff000002842938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work
#1: ffff80000bacbd60 (deferred_probe_work){+.+.}-{0:0}, at: process_one_work
#2: ffff000007645178 (&dev->mutex){....}-{3:3}, at: __device_attach
#3: ffff8000096e6e78 (dsa2_mutex){+.+.}-{3:3}, at: dsa_register_switch
#4: ffff0000114c44d8 (&bus->mdio_lock){+.+.}-{3:3}, at: mdiobus_read
stack backtrace:
CPU: 1 PID: 609 Comm: kworker/u4:3 Not tainted 5.15.71 #1
Workqueue: events_unbound deferred_probe_work_func
Call trace:
dump_backtrace
show_stack
dump_stack_lvl
dump_stack
print_circular_bug
check_noncircular
__lock_acquire
lock_acquire.part.0
lock_acquire
__mutex_lock
mutex_lock_nested
regmap_lock_mutex
regmap_read
lan9303_phy_read
dsa_slave_phy_read
__mdiobus_read
mdiobus_read
get_phy_device
mdiobus_scan
__mdiobus_register
dsa_register_switch
lan9303_probe
lan9303_mdio_probe
...
Cc: stable@vger.kernel.org
Fixes:
|
||
|
|
c131b21516 |
tty: serial: meson: fix hard LOCKUP on crtscts mode
[ Upstream commit 2a1d728f20edeee7f26dc307ed9df4e0d23947ab ]
There might be hard lockup if we set crtscts mode on port without RTS/CTS configured:
# stty -F /dev/ttyAML6 crtscts; echo 1 > /dev/ttyAML6; echo 2 > /dev/ttyAML6
[ 95.890386] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 95.890857] rcu: 3-...0: (201 ticks this GP) idle=e33c/1/0x4000000000000000 softirq=5844/5846 fqs=4984
[ 95.900212] rcu: (detected by 2, t=21016 jiffies, g=7753, q=296 ncpus=4)
[ 95.906972] Task dump for CPU 3:
[ 95.910178] task:bash state:R running task stack:0 pid:205 ppid:1 flags:0x00000202
[ 95.920059] Call trace:
[ 95.922485] __switch_to+0xe4/0x168
[ 95.925951] 0xffffff8003477508
[ 95.974379] watchdog: Watchdog detected hard LOCKUP on cpu 3
[ 95.974424] Modules linked in: 88x2cs(O) rtc_meson_vrtc
Possible solution would be to not allow to setup crtscts on such port.
Tested on S905X3 based board.
Fixes:
|
||
|
|
62fdc81444 |
serial: meson: Use platform_get_irq() to get the interrupt
[ Upstream commit 5b68061983471470d4109bac776145245f06bc09 ] platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static allocation of IRQ resources in DT core code, this causes an issue when using hierarchical interrupt domains using "interrupts" property in the node as this bypasses the hierarchical setup and messes up the irq chaining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq(). Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20211224142917.6966-5-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 2a1d728f20ed ("tty: serial: meson: fix hard LOCKUP on crtscts mode") Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
|
|
9eb54deacb |
tty: serial: meson: retrieve port FIFO size from DT
[ Upstream commit 27d44e05d7b85d9d4cfe0a3c0663ea49752ece93 ] Now the DT bindings has a property to get the FIFO size for a particular port, retrieve it and use to setup the FIFO interrupts threshold. Reviewed-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20210518075833.3736038-3-narmstrong@baylibre.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 2a1d728f20ed ("tty: serial: meson: fix hard LOCKUP on crtscts mode") Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
|
|
60a0f56fc9 |
serial: meson: remove redundant initialization of variable id
[ Upstream commit 021212f5335229ed12e3d31f9b7d30bd3bb66f7d ] The variable id being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Since id is just being used in a for-loop inside a local scope, move the declaration of id to that scope. Reviewed-by: Kevin Hilman <khilman@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Colin Ian King <colin.king@canonical.com> Addresses-Coverity: ("Unused value") Link: https://lore.kernel.org/r/20210426101106.9122-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 2a1d728f20ed ("tty: serial: meson: fix hard LOCKUP on crtscts mode") Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
|
|
eb9d94bd5c |
tty: serial: meson: if no alias specified use an available id
[ Upstream commit a26988e8fef4b258d1b771e0f4b2e3b67cb2e044 ] At probe, the uart driver tries to get an id from a device tree alias. When no alias was specified, the driver would return an error and probing would fail. Providing an alias for registering a serial device should not be mandatory. If the device tree does not specify an alias, provide an id from a reserved range so that the probing can continue. Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 2a1d728f20ed ("tty: serial: meson: fix hard LOCKUP on crtscts mode") Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
|
|
65312da249 |
ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
commit 713f040cd22285fcc506f40a0d259566e6758c3c upstream. Apply the already existing quirk chain ALC294_FIXUP_ASUS_SPK to enable the internal speaker of ASUS K6500ZC. Signed-off-by: Chandradeep Dey <codesigning@chandradeepdey.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/NizcVHQ--3-9@chandradeepdey.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |