02 Mar, 2021
1 commit
-
android display hal has refined the logic to use block commit when
there is overlay but without android out fence. This android out
fence patch can be reverted now.Revert "MA-14133 Enable android out fence and normal out fence simultaneously"
This reverts commit d5d94e0e13b5bdf8b3ab4f60341e00898bbaf3c2.
Change-Id: I8ef48ba46350324965e055e5314c837472aead6d
Signed-off-by: Richard Liu
01 Mar, 2021
1 commit
-
- M865SW-681: VSI V4L2 Engineer release package 20210226
M865SW-595: [VPU/V4L2] report hdr10 metadata to userspace
M865SW-608: [VPU/V4L2] decoder: enumerate CAPTURE formats according to the currently established coded format
M865SW-655: [VPU/V4l2] Refine assert reference for Android build
M865SW-663: [VPU/V4L2] decoder: app can't receive codec error event
M865SW-668: [VPU/V4L2] daemon: update vsidaemon ts manager to fix Android GTS issue
M865SW-671: [VPU/V4L2] decoder: seek a resolution changed vp9 stream meet decoding error
M865SW-676: [VPU/V4L2] decoder: please add new formats into verfiyPlanesize()
M865SW-678: [VPU/V4L2] decoder: please add 10bit depth into vsiv4l2_decidepixeldepth()
M865SW-572: [VPU/V4L2] decoder/encoder: one frame stream can't receive EOS
M865SW-674: [VPU/V4L2] the dtrc and dtrx output is incorrect when decoding 10bit streamSigned-off-by: Zhou Peng
Change-Id: I61a196742dade4255c806b0549da77d9d261d32e
07 Feb, 2021
1 commit
-
- M865SW-664: VSI V4L2 Engineer release package 20210205
M865SW-511: [VPU/V4L2] decoder: add extr v4l2 event to report 'PIC_CONSUMED' buffer
M865SW-554: [VPU/V4L2] decoder: decoder return wrong timestamp because of wrong consumed length
M865SW-595: [VPU/V4L2] report hdr10 metadata to userspace
M865SW-608: [VPU/V4L2] decoder: enumerate CAPTURE formats according to the currently established coded format
M865SW-648: [VPU/V4L2] encoder: streamoff failed in VSI_STATUS_INIT state
M865SW-654: [VPU/V4L2] Extend maximum h265 level to 5_2
M865SW-655: [VPU/V4l2] Refine assert reference for Android build
M865SW-659: [VPU/V4L2] Android meet dead waiting in open video device if rootfs does exists vsidaemon
M865SW-523: [VPU/V4L2] decoder: correctly handle stream file that contained codec data only
M865SW-572: [VPU/V4L2] decoder/encoder: one frame stream can't receive EOS
M865SW-644: [VPU/V4L2] decoder: can't recover to capture on state if stop cmd comes earlier than capture on cmdSigned-off-by: Zhou Peng
Change-Id: I3de0c8a409e2cd9f7334369442c8d037da2471b2
01 Feb, 2021
3 commits
-
- VSI v1.4.1 20210129 formal release
Change List (compare with v1.4):
Regenerating code to make modules' boundary clearer.
Adjust license declaration to meet NXP requirement. Passed NPX's license check.
Remove unused code from project or release.
Clean up code style to get conformant to kernel spec(driver) or google (daemon).
Better support of AVS and RV format in unit test.
Better support of 10-bit decoding.
Save bandwidth by reducing data transfer number.
Add extra event for communication between driver and application.
Resolve some potential sync problem.
Better support of crop feature in decoding.
Resolve several CTS cases.
Re-organize imx-vpu.h in conformance to standard kernel driver API's framework.
JIRA ticket 503, 523, 528, 546, 554, 557, 589, 597, 608, 626, 627, 628, 633, 640 are resolved in this releaseSigned-off-by: Zhou Peng
Change-Id: I4e2779b8e878f633f4e6f002e05d927cf750ccec -
Add vpu v4l2 driver 'drivers/mxc/hantro_v4l2/'
Source are based on VSI 20210121 releaseSigned-off-by: Zhou Peng
Change-Id: Ic879d0a19c75336349803c2e7115e64ce93b71bf -
Change-Id: Ief0d6fac10385c5f7d99ab7a9ac3932a7a637913
27 Jan, 2021
1 commit
-
HDCP driver will create a thread to poll hdcp state and cable state
every 50ms. Sync HPD debounce time to 50ms with HDCP driver
in case cable state mismatch in HDCP and HDMI driver.Signed-off-by: Sandor Yu
Reviewed-by: Robby Cai
25 Jan, 2021
3 commits
-
Add mode_valid() implementation for CRTC to filter out any
mode which cannot be supported by LCDIF. Only check the
CEA and DMT modes for pixel clock round rate is same with
the value from mode.Signed-off-by: Fancy Fang
-
Change-Id: I56f21ca5d08858f763395359baedb6f1a3b9066c
-
Change-Id: I173bc0325c93daaf82bb894f77ba35fa827864de
22 Jan, 2021
1 commit
-
This reverts commit 175fe6289fcb7e13cb5add2b80cdc0e5e049fb95.
This change isn't needed as the new MU binding is efficient and
can handle messages of any sizes.Signed-off-by: Nitin Garg
Reviewed-by: Dong Aisheng
21 Jan, 2021
1 commit
-
Revert "MLK-9662 [V4L2 Capture] Revert patch to
re-add support for _G_CHIP_IDENT"This reverts commit 2c0076d850dc595327f50a292e5ca88452b4217c.
Change-Id: Idc2f61d729b9f289d0c91054dc03794a5e8095d4
Signed-off-by: yang.tian
20 Jan, 2021
12 commits
-
This is the 5.10.9 stable release
* tag 'v5.10.9': (153 commits)
Linux 5.10.9
netfilter: nf_nat: Fix memleak in nf_nat_init
netfilter: conntrack: fix reading nf_conntrack_buckets
...Signed-off-by: Jason Liu
-
This is the 5.10.8 stable release
* tag 'v5.10.8': (104 commits)
Linux 5.10.8
tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
drm/panfrost: Remove unused variables in panfrost_job_close()
...Signed-off-by: Jason Liu
-
This is the 5.10.7 stable release
* tag 'v5.10.7': (144 commits)
Linux 5.10.7
scsi: target: Fix XCOPY NAA identifier lookup
rtlwifi: rise completion at the last step of firmware callback
...Signed-off-by: Jason Liu
-
This is the 5.10.6 stable release
* tag 'v5.10.6': (21 commits)
Linux 5.10.6
mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start
exec: Transform exec_update_mutex into a rw_semaphore
...Signed-off-by: Jason Liu
Conflicts:
drivers/rtc/rtc-pcf2127.c -
This is the 5.10.5 stable release
* tag 'v5.10.5': (63 commits)
Linux 5.10.5
device-dax: Fix range release
ext4: avoid s_mb_prefetch to be zero in individual scenarios
...Signed-off-by: Jason Liu
-
Change-Id: I5a8e84f5b691a352ad4ab138927f4ff98e07ab18
-
Changes in 5.10.9
btrfs: reloc: fix wrong file extent type check to avoid false ENOENT
btrfs: prevent NULL pointer dereference in extent_io_tree_panic
ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machines
ALSA: doc: Fix reference to mixart.rst
ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395
ASoC: dapm: remove widget from dirty list on free
x86/hyperv: check cpu mask after interrupt has been disabled
drm/amdgpu: add green_sardine device id (v2)
drm/amdgpu: fix DRM_INFO flood if display core is not supported (bug 210921)
Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel"
drm/amdgpu: add new device id for Renior
drm/i915: Allow the sysadmin to override security mitigations
drm/i915/gt: Limit VFE threads based on GT
drm/i915/backlight: fix CPU mode backlight takeover on LPT
drm/bridge: sii902x: Refactor init code into separate function
dt-bindings: display: sii902x: Add supply bindings
drm/bridge: sii902x: Enable I/O and core VCC supplies if present
tracing/kprobes: Do the notrace functions check without kprobes on ftrace
tools/bootconfig: Add tracing_on support to helper scripts
ext4: use IS_ERR instead of IS_ERR_OR_NULL and set inode null when IS_ERR
ext4: fix wrong list_splice in ext4_fc_cleanup
ext4: fix bug for rename with RENAME_WHITEOUT
cifs: check pointer before freeing
cifs: fix interrupted close commands
riscv: Drop a duplicated PAGE_KERNEL_EXEC
riscv: return -ENOSYS for syscall -1
riscv: Fixup CONFIG_GENERIC_TIME_VSYSCALL
riscv: Fix KASAN memory mapping.
mips: fix Section mismatch in reference
mips: lib: uncached: fix non-standard usage of variable 'sp'
MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
MIPS: Fix malformed NT_FILE and NT_SIGINFO in 32bit coredumps
MIPS: relocatable: fix possible boot hangup with KASLR enabled
RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd()
ACPI: scan: Harden acpi_device_add() against device ID overflows
xen/privcmd: allow fetching resource sizes
compiler.h: Raise minimum version of GCC to 5.1 for arm64
mm/vmalloc.c: fix potential memory leak
mm/hugetlb: fix potential missing huge page size info
mm/process_vm_access.c: include compat.h
dm raid: fix discard limits for raid1
dm snapshot: flush merged data before committing metadata
dm integrity: fix flush with external metadata device
dm integrity: fix the maximum number of arguments
dm crypt: use GFP_ATOMIC when allocating crypto requests from softirq
dm crypt: do not wait for backlogged crypto request completion in softirq
dm crypt: do not call bio_endio() from the dm-crypt tasklet
dm crypt: defer decryption to a tasklet if interrupts disabled
stmmac: intel: change all EHL/TGL to auto detect phy addr
r8152: Add Lenovo Powered USB-C Travel Hub
btrfs: tree-checker: check if chunk item end overflows
ext4: don't leak old mountpoint samples
io_uring: don't take files/mm for a dead task
io_uring: drop mm and files after task_work_run
ARC: build: remove non-existing bootpImage from KBUILD_IMAGE
ARC: build: add uImage.lzma to the top-level target
ARC: build: add boot_targets to PHONY
ARC: build: move symlink creation to arch/arc/Makefile to avoid race
ARM: omap2: pmic-cpcap: fix maximum voltage to be consistent with defaults on xt875
ath11k: fix crash caused by NULL rx_channel
netfilter: ipset: fixes possible oops in mtype_resize
ath11k: qmi: try to allocate a big block of DMA memory first
btrfs: fix async discard stall
btrfs: merge critical sections of discard lock in workfn
btrfs: fix transaction leak and crash after RO remount caused by qgroup rescan
regulator: bd718x7: Add enable times
ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram
ARM: dts: ux500/golden: Set display max brightness
habanalabs: adjust pci controller init to new firmware
habanalabs/gaudi: retry loading TPC f/w on -EINTR
habanalabs: register to pci shutdown callback
staging: spmi: hisi-spmi-controller: Fix some error handling paths
spi: altera: fix return value for altera_spi_txrx()
habanalabs: Fix memleak in hl_device_reset
hwmon: (pwm-fan) Ensure that calculation doesn't discard big period values
lib/raid6: Let $(UNROLL) rules work with macOS userland
kconfig: remove 'kvmconfig' and 'xenconfig' shorthands
spi: fix the divide by 0 error when calculating xfer waiting time
io_uring: drop file refs after task cancel
bfq: Fix computation of shallow depth
arch/arc: add copy_user_page() to to fix build error on ARC
misdn: dsp: select CONFIG_BITREVERSE
net: ethernet: fs_enet: Add missing MODULE_LICENSE
selftests: fix the return value for UDP GRO test
nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN
nvme: avoid possible double fetch in handling CQE
nvmet-rdma: Fix list_del corruption on queue establishment failure
drm/amd/display: fix sysfs amdgpu_current_backlight_pwm NULL pointer issue
drm/amdgpu: fix a GPU hang issue when remove device
drm/amd/pm: fix the failure when change power profile for renoir
drm/amdgpu: fix potential memory leak during navi12 deinitialization
usb: typec: Fix copy paste error for NVIDIA alt-mode description
iommu/vt-d: Fix lockdep splat in sva bind()/unbind()
ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI
drm/msm: Call msm_init_vram before binding the gpu
ARM: picoxcell: fix missing interrupt-parent properties
poll: fix performance regression due to out-of-line __put_user()
rcu-tasks: Move RCU-tasks initialization to before early_initcall()
bpf: Simplify task_file_seq_get_next()
bpf: Save correct stopping point in file seq iteration
x86/sev-es: Fix SEV-ES OUT/IN immediate opcode vc handling
cfg80211: select CONFIG_CRC32
nvme-fc: avoid calling _nvme_fc_abort_outstanding_ios from interrupt context
iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev
net/mlx5e: CT: Use per flow counter when CT flow accounting is enabled
net/mlx5: Fix passing zero to 'PTR_ERR'
net/mlx5: E-Switch, fix changing vf VLANID
blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED
mm: fix clear_refs_write locking
mm: don't play games with pinned pages in clear_page_refs
mm: don't put pinned pages into the swap cache
perf intel-pt: Fix 'CPU too large' error
dump_common_audit_data(): fix racy accesses to ->d_name
ASoC: meson: axg-tdm-interface: fix loopback
ASoC: meson: axg-tdmin: fix axg skew offset
ASoC: Intel: fix error code cnl_set_dsp_D0()
nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY
nvme: don't intialize hwmon for discovery controllers
nvme-tcp: fix possible data corruption with bio merges
nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock
pNFS: We want return-on-close to complete when evicting the inode
pNFS: Mark layout for return if return-on-close was not sent
pNFS: Stricter ordering of layoutget and layoutreturn
NFS: Adjust fs_context error logging
NFS/pNFS: Don't call pnfs_free_bucket_lseg() before removing the request
NFS/pNFS: Don't leak DS commits in pnfs_generic_retry_commit()
NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
NFS: nfs_delegation_find_inode_server must first reference the superblock
NFS: nfs_igrab_and_active must first reference the superblock
scsi: ufs: Fix possible power drain during system suspend
ext4: fix superblock checksum failure when setting password salt
RDMA/restrack: Don't treat as an error allocation ID wrapping
RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
bnxt_en: Improve stats context resource accounting with RDMA driver loaded.
RDMA/mlx5: Fix wrong free of blue flame register on error
IB/mlx5: Fix error unwinding when set_has_smi_cap fails
umount(2): move the flag validity checks first
dm zoned: select CONFIG_CRC32
drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence
drm/i915/icl: Fix initing the DSI DSC power refcount during HW readout
drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail
mm, slub: consider rest of partial list if acquire_slab() fails
riscv: Trace irq on only interrupt is enabled
iommu/vt-d: Fix unaligned addresses for intel_flush_svm_range_dev()
net: sunrpc: interpret the return value of kstrtou32 correctly
selftests: netfilter: Pass family parameter "-f" to conntrack tool
dm: eliminate potential source of excessive kernel log noise
ALSA: fireface: Fix integer overflow in transmit_midi_msg()
ALSA: firewire-tascam: Fix integer overflow in midi_port_work()
netfilter: conntrack: fix reading nf_conntrack_buckets
netfilter: nf_nat: Fix memleak in nf_nat_init
Linux 5.10.9Signed-off-by: Greg Kroah-Hartman
Change-Id: I609e501511889081e03d2d18ee7e1be95406f396 -
[ Upstream commit 1b04fa9900263b4e217ca2509fd778b32c2b4eb2 ]
PowerPC testing encountered boot failures due to RCU Tasks not being
fully initialized until core_initcall() time. This commit therefore
initializes RCU Tasks (along with Rude RCU and RCU Tasks Trace) just
before early_initcall() time, thus allowing waiting on RCU Tasks grace
periods from early_initcall() handlers.Link: https://lore.kernel.org/rcu/87eekfh80a.fsf@dja-thinkpad.axtens.net/
Fixes: 36dadef23fcc ("kprobes: Init kprobes in early_initcall")
Tested-by: Daniel Axtens
Signed-off-by: Uladzislau Rezki (Sony)
Signed-off-by: Paul E. McKenney
Signed-off-by: Sasha Levin -
[ Upstream commit ee61cfd955a64a58ed35cbcfc54068fcbd486945 ]
It adds a stub acpi_create_platform_device() for !CONFIG_ACPI build, so
that caller doesn't have to deal with !CONFIG_ACPI build issue.Reported-by: kernel test robot
Signed-off-by: Shawn Guo
Signed-off-by: Rafael J. Wysocki
Signed-off-by: Sasha Levin -
commit 9b5948267adc9e689da609eb61cf7ed49cae5fa8 upstream.
With external metadata device, flush requests are not passed down to the
data device.Fix this by submitting the flush request in dm_integrity_flush_buffers. In
order to not degrade performance, we overlap the data device flush with
the metadata device flush.Reported-by: Lukas Straub
Signed-off-by: Mikulas Patocka
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer
Signed-off-by: Greg Kroah-Hartman -
commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream.
GCC versions >= 4.9 and < 5.1 have been shown to emit memory references
beyond the stack pointer, resulting in memory corruption if an interrupt
is taken after the stack pointer has been adjusted but before the
reference has been executed. This leads to subtle, infrequent data
corruption such as the EXT4 problems reported by Russell King at the
link below.Life is too short for buggy compilers, so raise the minimum GCC version
required by arm64 to 5.1.Reported-by: Russell King
Suggested-by: Arnd Bergmann
Signed-off-by: Will Deacon
Tested-by: Nathan Chancellor
Reviewed-by: Nick Desaulniers
Reviewed-by: Nathan Chancellor
Acked-by: Linus Torvalds
Cc:
Cc: Theodore Ts'o
Cc: Florian Weimer
Cc: Peter Zijlstra
Cc: Nick Desaulniers
Link: https://lore.kernel.org/r/20210105154726.GD1551@shell.armlinux.org.uk
Link: https://lore.kernel.org/r/20210112224832.10980-1-will@kernel.org
Signed-off-by: Catalin Marinas
Signed-off-by: Greg Kroah-Hartman -
The implementation was limiting the size of a message which can be
received to 4 but soem response can be bigger. For example the
response of the 'sc_seco_secvio_config' API is 6 words.This patch removes this limitation relying on the count of word
received instead of the index of the chan.
It does so by duplicating imx_scu_call_rpc as imx_scu_call_big_rpc
in order to cahnge the RX method using imx_scu_big_rx_callback
instead of imx_scu_rx_callback.Signed-off-by: Franck LENORMAND
19 Jan, 2021
5 commits
-
Vendor scheduler may not want to rebalance between domains in some case.
New vendor hook is added for vendor to decide whether rebalance domains.Bug: 176952463
Change-Id: Ie2edbd4b11679786096dd0170496904ae180583c
Signed-off-by: Park Bumgyu -
Changes in 5.10.8
powerpc/32s: Fix RTAS machine check with VMAP stack
io_uring: synchronise IOPOLL on task_submit fail
io_uring: limit {io|sq}poll submit locking scope
io_uring: patch up IOPOLL overflow_flush sync
RDMA/hns: Avoid filling sl in high 3 bits of vlan_id
iommu/arm-smmu-qcom: Initialize SCTLR of the bypass context
drm/panfrost: Don't corrupt the queue mutex on open/close
io_uring: Fix return value from alloc_fixed_file_ref_node
scsi: ufs: Fix -Wsometimes-uninitialized warning
btrfs: skip unnecessary searches for xattrs when logging an inode
btrfs: fix deadlock when cloning inline extent and low on free metadata space
btrfs: shrink delalloc pages instead of full inodes
net: cdc_ncm: correct overhead in delayed_ndp_size
net: hns3: fix incorrect handling of sctp6 rss tuple
net: hns3: fix the number of queues actually used by ARQ
net: hns3: fix a phy loopback fail issue
net: stmmac: dwmac-sun8i: Fix probe error handling
net: stmmac: dwmac-sun8i: Balance internal PHY resource references
net: stmmac: dwmac-sun8i: Balance internal PHY power
net: stmmac: dwmac-sun8i: Balance syscon (de)initialization
net: vlan: avoid leaks on register_vlan_dev() failures
net/sonic: Fix some resource leaks in error handling paths
net: bareudp: add missing error handling for bareudp_link_config()
ptp: ptp_ines: prevent build when HAS_IOMEM is not set
net: ipv6: fib: flush exceptions when purging route
tools: selftests: add test for changing routes with PTMU exceptions
net: fix pmtu check in nopmtudisc mode
net: ip: always refragment ip defragmented packets
chtls: Fix hardware tid leak
chtls: Remove invalid set_tcb call
chtls: Fix panic when route to peer not configured
chtls: Avoid unnecessary freeing of oreq pointer
chtls: Replace skb_dequeue with skb_peek
chtls: Added a check to avoid NULL pointer dereference
chtls: Fix chtls resources release sequence
octeontx2-af: fix memory leak of lmac and lmac->name
nexthop: Fix off-by-one error in error path
nexthop: Unlink nexthop group entry in error path
nexthop: Bounce NHA_GATEWAY in FDB nexthop groups
s390/qeth: fix deadlock during recovery
s390/qeth: fix locking for discipline setup / removal
s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE
net/mlx5: Use port_num 1 instead of 0 when delete a RoCE address
net/mlx5e: ethtool, Fix restriction of autoneg with 56G
net/mlx5e: In skb build skip setting mark in switchdev mode
net/mlx5: Check if lag is supported before creating one
scsi: lpfc: Fix variable 'vport' set but not used in lpfc_sli4_abts_err_handler()
ionic: start queues before announcing link up
HID: wacom: Fix memory leakage caused by kfifo_alloc
fanotify: Fix sys_fanotify_mark() on native x86-32
ARM: OMAP2+: omap_device: fix idling of devices during probe
i2c: sprd: use a specific timeout to avoid system hang up issue
dmaengine: dw-edma: Fix use after free in dw_edma_alloc_chunk()
selftests/bpf: Clarify build error if no vmlinux
can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver
can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()
can: kvaser_pciefd: select CONFIG_CRC32
spi: spi-geni-qcom: Fail new xfers if xfer/cancel/abort pending
cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
spi: spi-geni-qcom: Fix geni_spi_isr() NULL dereference in timeout case
spi: stm32: FIFO threshold level - fix align packet size
i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated
i2c: mediatek: Fix apdma and i2c hand-shake timeout
bcache: set bcache device into read-only mode for BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKET
interconnect: imx: Add a missing of_node_put after of_device_is_available
interconnect: qcom: fix rpmh link failures
dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function
dmaengine: milbeaut-xdmac: Fix a resource leak in the error handling path of the probe function
dmaengine: xilinx_dma: check dma_async_device_register return value
dmaengine: xilinx_dma: fix incompatible param warning in _child_probe()
dmaengine: xilinx_dma: fix mixed_enum_type coverity warning
arm64: mm: Fix ARCH_LOW_ADDRESS_LIMIT when !CONFIG_ZONE_DMA
qed: select CONFIG_CRC32
phy: dp83640: select CONFIG_CRC32
wil6210: select CONFIG_CRC32
block: rsxx: select CONFIG_CRC32
lightnvm: select CONFIG_CRC32
zonefs: select CONFIG_CRC32
iommu/vt-d: Fix misuse of ALIGN in qi_flush_piotlb()
iommu/intel: Fix memleak in intel_irq_remapping_alloc
bpftool: Fix compilation failure for net.o with older glibc
nvme-tcp: Fix possible race of io_work and direct send
net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups
net/mlx5e: Fix two double free cases
regmap: debugfs: Fix a memory leak when calling regmap_attach_dev
wan: ds26522: select CONFIG_BITREVERSE
arm64: cpufeature: remove non-exist CONFIG_KVM_ARM_HOST
regulator: qcom-rpmh-regulator: correct hfsmps515 definition
net: mvpp2: disable force link UP during port init procedure
drm/i915/dp: Track pm_qos per connector
net: mvneta: fix error message when MTU too large for XDP
selftests: fib_nexthops: Fix wrong mausezahn invocation
KVM: arm64: Don't access PMCR_EL0 when no PMU is available
xsk: Fix race in SKB mode transmit with shared cq
xsk: Rollback reservation at NETDEV_TX_BUSY
block/rnbd-clt: avoid module unload race with close confirmation
can: isotp: isotp_getname(): fix kernel information leak
block: fix use-after-free in disk_part_iter_next
net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet
regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init()
drm/panfrost: Remove unused variables in panfrost_job_close()
tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
Linux 5.10.8Signed-off-by: Greg Kroah-Hartman
Change-Id: Ib8272ec9f47a3c3813509bcacece3b16137332e1 -
There is the log” mxsfb 40aa0000.lcdif: mxs wait for pan flip timeout”
in evk-7ulp board. It relate to mulit frame buffer update_screen in
short time interval. The fb_fence use workqueue to process every
framebuffer updating. If the update_screen is too slow(cannot got
completion in time), the second update_screen will reinit the
flip_complete even if the first update_screen thread is waiting the
completion. It cause this abnormal logic.
Use the mutex when update screen can fix this issue.Change-Id: I79ac597efcaa2eabf6b57ebfdd85b774d9892d59
Signed-off-by: Zhang Bo -
Add fb_fence.c file to implement fence generation and signal codes.
Add fb_update_overlay to update overlay and get release fence.
Add fb_present_screen to update display and get present fence.
fb_init_fence_context is used to initialize FB fence context.
fb_handle_fence exported to IPU FB and LCDIF FB driver to signal fence.Change-Id: Iffd7e6384b068397982c9c2c18f861d68ef379f3
Signed-off-by: Ivan.liu -
Add android out-fence support for DRM, enable android out fence and
normal out fence simultaneously. Android present fence depends on
normal out fence which represents current frame on screen. Layer
release fence depends on android out fence which should be signaled
when it is off screen.Key changes:
Add DRIVER_ATOMIC_ANDROID_FENCE feature to declare android out-fence support.
Add ANDROID_OUT_FENCE_PTR property to transfer fence fd.
Android fence is created when drm_atomic_commit called.
Add drm_crtc_arm_fence_event to insert fence to queue.
Add drm_crtc_handle_fence to signal buffer fence off screen.
Add drm android out-fence to dcss crtc.This patch cherry-pick below four patches from L4.19 kernel and do
some update based on L5.4 kernel changes.
commit d939f92ae2ffde6b78d5f4befd409f448f0e78c9
Author: Ivan.liu
MA-11972 Add android out-fence support for DRM.
Android requires buffer fence signaled when it is off screen.
But default out-fence can't meet that.
Add DRIVER_ATOMIC_ANDROID_FENCE feature to declare android out-fence support.
Add ANDROID_OUT_FENCE_PTR property to transfer fence fd.
Android fence is created when drm_atomic_commit called.
Add drm_crtc_arm_fence_event to insert fence to queue.
Add drm_crtc_handle_fence to signal buffer fence off screen.
commit a0391e0dc88450e624e8f57fa568ed043e0cee99
Author: Ivan.liu
MA-11972-2 Add android out-fence support for DRM.
Add drm android out-fence to dcss crtc.
commit c3f41907367dcad63ae5a23391331dc2193d3918
Author: Ivan.liu
MA-14133 Enable android out fence and normal out fence simultaneously.
Refine fence generation codes to support android out fence and normal out fence.
Android present fence depends on normal out fence which represents current frame on screen.
Layer release fence depends on android out fence which should be signaled when it is off screen.
commit 26262450de93647c809ad4970bce5ccce94fec62
Author: Ivan.liu
MA-13203 Fix kernel panic when do video plaback with dual display on 8mq.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
Internal error: Oops: 96000004 [#1] PREEMPT SMP
Hardware name: Freescale i.MX8MQ EVK (DT)
PC is at dma_fence_signal_locked+0x50/0x178
LR is at dma_fence_signal_locked+0xbc/0x178
Call trace:
[] dma_fence_signal_locked+0x50/0x178
[] drm_crtc_handle_fence+0x7c/0xfc
[] dcss_crtc_irq_handler+0x54/0x6c
[] __handle_irq_event_percpu+0x60/0x24c
[] handle_irq_event+0x58/0xc0
The root cause is fence is copied to CRTC state and reused again.
Set state fence to null when duplicate CRTC state to fix this issue.Change-Id: Id98b2a49be49574b836a508c182c3e3a99230ac4
Signed-off-by: Richard Liu
18 Jan, 2021
11 commits
-
Add mxcfb_update_screen interface to LCDIF and IPU FB driver.
To support update screen with buffer allocation from user space.
It is required by Android Gralloc1 and HWC2 interface.Change-Id: I7b60069fd82cbfe52ced17771ae5a39d67cd7869
Signed-off-by: ivan.liu -
Change unsigned long to __u64 to align 32bit and 64bit kernel.
Change-Id: I9d9e1f6307bc5c43ae4fbce0bd847a91e57f9a5d
Signed-off-by: ivan.liu -
Refine the device cooling function to support different states.
Change-Id: I4acb39613509519de53515f1f0a79ef1c9286c10
Signed-off-by: Zhang Bo -
replace the "bool" with "unsigned char" in this pxp_dma.h. So the updated file
in device/fsl/common/kernel-headers/linux/pxp_dma.h will not cause compile error
in imx board.Change-Id: Iba210eb3d034ca54c35ee092ea20609ad568a7eb
Signed-off-by: Zhang Bo -
Consistently use the MIT license for headers that are also duplicated in
Trusty (and sometimes in TF-A too). This is the license in the other
copies, and unlike GPL-2.0 it's compatible with both Linux and Trusty.For trusty-log.h, also add the copyright statement that is in the other
copy, as the MIT license requires a copyright statement.Also remove the unnecessary include of in arm_ffa.h.
Finally, also add reminders to keep the headers in sync.
Change-Id: Id0349d605013a941d2c54d9a372991b300d8feea
Signed-off-by: Eric Biggers -
Linux kernel code conventionally uses u8, u16, u32, etc. instead of the
stdint-style uint8_t, uint16_t, uint32_t, etc. So replace the
stdint-style types with the Linux-style types.Don't make this change in arm_ffa.h or trusty-log.h, since there is a
copy of these headers in non-Linux code, and there is a desire to keep
the copies the same.Change-Id: I0a0239cbda9a32b004581e80e5d4420cee7ee429
Signed-off-by: Eric Biggers -
- Make tipc_compat_ioctl() call tipc_ioctl(), to avoid code duplication
as more ioctls get added. This follows the way that .compat_ioctl()
is typically implemented in drivers; e.g. see ext4_compat_ioctl().- Fix error code for "unrecognized ioctl".
- Remove user-triggable warning and error messages, or downgrade them to
debug level. Kernel convention is to be quiet; userspace can handle
failures the way it wants to.- Remove check for _IOC_TYPE() which is redundant because only specific
ioctl numbers are handled.- Move compat ioctl definition to internal file, as it doesn't belong in
the UAPI header.Change-Id: Ic69db9dbeef823f415cc4be05faf0386e638696f
Signed-off-by: Eric Biggers -
Linux kernel code uses traditional include guards, not '#pragma once'.
Change-Id: Ia865e58b1d08a2e8df96854933f500b504341794
Signed-off-by: Eric Biggers -
* Adds ability to send memfds over a tipc channel
Missing:
* COMPAT support for 32-bit ioctls
* Receiving shared memoryBug: 117221195
Test: tipc-test -t send-fd
Change-Id: I1bb6c9f1c2ce8ab3e73de3666916a89f872909c9
Signed-off-by: Matthew Maurer -
Previously, these were just replicated in userspace by exact number.
Export them explicitly through uapi rather than manually keeping them in
sync.Bug: 117221195
Signed-off-by: Matthew Maurer
Change-Id: I77bb8d4fcc919bed23eb7a02489a867b06870a27 -
Fix instances of the following checkpatch warnings:
WARNING: quoted string split across lines
WARNING: char * array declaration might be better as static const
WARNING: else is not generally useful after a break or return
WARNING: braces {} are not necessary for single statement blocks
WARNING: Missing a blank line after declarations
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
WARNING: Possible unnecessary 'out of memory' message
WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
WARNING: Symbolic permissions 'S_IRUSR' are not preferred. Consider using octal permissions '0400'.
WARNING: space prohibited between function name and open parenthesis '('Test: trusty/vendor/google/aosp/scripts/build.py qemu-generic-arm64-test-debug
Change-Id: If470fe558206c4a689323db7c6d787db82b9aa86
Signed-off-by: Eric BiggersConflicts:
arch/arm64/kernel/smp.cChange-Id: I68e4d85f1b0f73b6c158a4d37c07e0301c6cc7d7