Seung-Woo Kim [Tue, 15 Nov 2022 04:32:16 +0000 (13:32 +0900)]
packaging: add perf package for perf tool and traceevent plugins
Add perf package for perf tool and its traceevent plugins.
Note: they are built from below directories.
- perf: tools/perf
- traceevent plugins: tools/lib/traceevent
Change-Id: Ia154b6fd85dbc65f2ca3c5af018cc86cd6061f9d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Mon, 7 Nov 2022 04:11:13 +0000 (13:11 +0900)]
brd: Support for BLKFLSBUF
To support brd flush to free ramdisk brd_mutex is required. also to
free ramdisk memory, BLKFLSBUF support is required. this commit has
been modified to match the interface of the kernel v5.15.
This reverts commit
15f7b41f70ddcca3b555bd0fdc7c8da7466b517e.
This reverts commit
ff26956875c2f05e12ecec9938411a2c7dfc767d.
Change-Id: Idde4b352924a0d8bd1c606b6da171f333dfb4f70
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Mon, 7 Nov 2022 04:11:09 +0000 (13:11 +0900)]
brd: Support discard
To support ramdisk flush, discard is required. So, revert the commit.
Also, this commit has been modified to match the interface of the
kernel v5.15.
This reverts commit
f09a06a193d942a12c1a33c153388b3962222006.
Change-Id: Ic66d8331b63e96ed35ae7ca48cb7c7349559ea58
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 9 Nov 2022 05:59:27 +0000 (14:59 +0900)]
Revert "block: don't call into the driver for BLKFLSBUF"
Revert that commit for use with the blkdev_flushbuf ioctl.
This reverts commit
4a9d6d667f0bafed55a9e9f5ae8bceb3680749d7.
Change-Id: Ibba5ecdff7c0d3402a220005856a28783c36cc86
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 9 Nov 2022 06:02:38 +0000 (15:02 +0900)]
Revert "block: don't call into the driver for BLKROSET"
Revert that commit for use with the blkdev_flushbuf ioctl.
This reverts commit
732e12d805a77f74c907c0a28ece271ef1e81e01.
Change-Id: Ic0f44db39cc4bfd68a69a677949c3913763f2b88
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 9 Nov 2022 05:59:19 +0000 (14:59 +0900)]
Revert "block: remove __blkdev_driver_ioctl"
Revert that commit for use with the blkdev_flushbuf ioctl.
This reverts commit
a7cb3d2f09c8405aed59d97a7d02cebea43cd3c7.
Change-Id: Idd8b165ea6c83ecbacdb697afa0532414b330360
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 2 Nov 2022 09:26:56 +0000 (18:26 +0900)]
ASoC: seeed-voicecard: Fix to not use asoc_simple_parse_xxx()
Interface changed since kernel v5.13, modified to not use
asoc_simple_parse_xxx().
Ref patch:
Link: https://lore.kernel.org/r/87pmz0wf9u.wl-kuninori.morimoto.gx@renesas.com
Change-Id: I6131e214b44427f4e9a79e53e36947270599b72e
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 2 Nov 2022 09:26:54 +0000 (18:26 +0900)]
ARM: tizen_bcm2711_defconfig: Add AC108 and SEEED configs
Add support 4channels mic volume.
Change-Id: I69cea4e7fe731dbe84a490aa4872dfc08d6ccbaa
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 2 Nov 2022 09:26:51 +0000 (18:26 +0900)]
arm64: tizen_bcm2711_defconfig: Add AC108 and SEEED configs
Add support 4channels mic volume.
Change-Id: Ib8e132a0d225143b7479b50ceeb2f79bc82e9ff0
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Jaechul Lee [Mon, 4 Nov 2019 07:16:17 +0000 (16:16 +0900)]
arm: dts: bcm2711-rpi-4-b: Adds buttons for speaker profile
Tizen Speaker Profile uses a keypad that consists of 5 buttons for
up/down/left/right/center. The buttons are connected to GPIO pins as
follows.
GPIO16 : KEY_VOLUMEUP
GPIO13 : KEY_VOLUMEDOWN
GPIO6 : KEY_FASTFORWARD
GPIO12 : KEY_REWIND
GPIO25 : KEY_PLAYPAUSE
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Conflicts:
arch/arm/boot/dts/bcm2711-rpi-4-b.dts
Change-Id: I25bffde7c669c0572496ec3adbd4240fb2ed49cd
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Jaechul Lee [Mon, 4 Nov 2019 07:09:25 +0000 (16:09 +0900)]
arm: dts: bcm2711-rpi-4-b: Adds respeaker 4mic nodes
adds respeaker 4mic nodes.
Change-Id: I79bf8b7860d53e7c88fa1b37ef2af5cdc0532840
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Hoegeun Kwon [Wed, 20 Jan 2021 07:33:20 +0000 (16:33 +0900)]
ASoC: ac108: Fix changed interface
Fix changed interface and incorrectly used structure member names.
Change-Id: Ic22bf7d6651537d63f85ad8ba54e429a44874311
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Jaehoon Chung [Thu, 9 Jul 2020 10:04:51 +0000 (19:04 +0900)]
ASoC: ac108: fix build warning about '-Wimplict-fallthrough'
Fix build warning about '-Wimplicit-fallthrough'.
In file included from ./include/linux/acpi.h:15,
from ./include/linux/i2c.h:13,
from sound/soc/codecs/ac108.c:21:
sound/soc/codecs/ac108.c: In function 'ac108_set_fmt':
./include/linux/device.h:1758:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
Change-Id: I89c995e338d2c2afbcc61d49495b406df76e17ab
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Mon, 18 May 2020 07:59:35 +0000 (16:59 +0900)]
ASoC: seeed-voicecard: Fix init and parse func
When we rebase the kernel version to v5.x, the interface changed and
a build error occurred. Modify the interface for card init and parse.
This patch is already been reviewd from [1].
[1]
"Commit: ASoC: ac108: Adds ac108 codec and machine code"
"Change-Id: Idd1fd85a461c3f2ac03192ec49bf527601d797b7"
Change-Id: Ib90e267e665fa910c1b4b7038375155dbea14d1f
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Jaechul Lee [Thu, 9 May 2019 00:26:53 +0000 (09:26 +0900)]
ASoC: ac108: Fixes kernel bug message when starting to capture
The code in the trigger function is moved to prepare function that is
called right before trigger function. clock operation would be ran by
parepare function without disabling preemption.
BUG: scheduling while atomic: arecord/1244/0x00000004
Preemption disabled at:
[<
ffffff80087c4a08>] snd_pcm_stream_lock+0x30/0x68
Call trace:
[<
ffffff800808b250>] dump_backtrace+0x0/0x270
[<
ffffff800808b4e4>] show_stack+0x24/0x30
[<
ffffff8008ae87c4>] dump_stack+0xac/0xe8
[<
ffffff80080cc814>] __schedule_bug+0x7c/0xd8
[<
ffffff8008afb558>] __schedule+0x718/0x880
[<
ffffff8008afb6fc>] schedule+0x3c/0xa0
[<
ffffff8008aff028>] schedule_timeout+0x190/0x408
[<
ffffff8008afc4b8>] wait_for_common+0xa8/0x150
[<
ffffff8008afc5c4>] wait_for_completion_timeout+0x2c/0x38
[<
ffffff80086e5a0c>] bcm2835_i2c_xfer+0x16c/0x400
[<
ffffff80086deedc>] __i2c_transfer+0x12c/0x570
[<
ffffff80086df38c>] i2c_transfer+0x6c/0xc0
[<
ffffff80086df430>] i2c_master_send+0x50/0x68
[<
ffffff8008584454>] regmap_i2c_write+0x34/0x70
[<
ffffff800857fe34>] _regmap_raw_write+0x7cc/0x7e0
[<
ffffff800857feb8>] _regmap_bus_raw_write+0x70/0x88
[<
ffffff800857ea48>] _regmap_write+0x70/0x160
[<
ffffff800857ec10>] _regmap_update_bits+0xd8/0xf8
[<
ffffff80085800b0>] regmap_update_bits_base+0x68/0x98
[<
ffffff8008805838>] ac10x_update_bits+0x48/0x88
[<
ffffff8008805c00>] ac108_trigger+0x118/0x130
Change-Id: Ib0f5edc86d363005abd75f989d732e917617f3fe
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Jaechul Lee [Thu, 18 Apr 2019 06:02:37 +0000 (15:02 +0900)]
ASoC: ac108: Adds default 4channels mic volume
It needs to be set default volume to max value.
Change-Id: Ibee68a2885925ec8a3c1ce12c6fa0f7ff8c98dfb
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Jaechul Lee [Mon, 1 Apr 2019 02:08:55 +0000 (11:08 +0900)]
ASoC: ac108: Adds ac108 codec and machine code
adds respeaker machine code and ac101/ac108 codec code.
ReSpeaker driver
https://github.com/respeaker/seeed-voicecard
Change-Id: I30e687bef34f1e579d1646db43d9835a470df16f
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Jaehoon Chung [Tue, 1 Nov 2022 07:15:19 +0000 (16:15 +0900)]
packaging: remove headers_check in spec file
Remove headers_check in spec file.
When build the current version, WARNING message is displayed.
[ 64s] =================== WARNING ===================
[ 64s] Since Linux 5.5, 'make headers_check' is no-op,
[ 64s] and will be removed after Linux 5.15 release.
[ 64s] Please remove headers_check from your scripts.
[ 64s] ===============================================
Change-Id: I62aebbe5dae0d5909eefb518ff26dd99ce91ee3e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Thu, 27 Oct 2022 10:55:48 +0000 (19:55 +0900)]
rpi4: boot: config: Add dwc2-tizen driver config
Add dwc2-tizen driver config for using dwc2-tizen dts by overlays dtb.
Alwo, If dwc2 mode is set to otg, forcing dwc2 mode as peripheral is
proceeded in the early boot time, but since tizen configures the gadget
with configfs after system is prepared. It causes enumeration problem.
To prevent it, default mode will be fixed as peripheral. Actully, since
type-c usb port is only used as power-source and peripheral port, it is
more precise setting though.
Change-Id: I53266309475c397db14f212d81ee64ec1d933a45
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 27 Oct 2022 10:53:47 +0000 (19:53 +0900)]
overlays: Add dwc2-tizen-overlay
Add g-extcon-always-on value,
Set extcon state for dwc2 cable as always true.
Change-Id: Ibfdeb4a022f3be3e584ceaf1ac2f3f7e2fd88499
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 27 Oct 2022 08:36:02 +0000 (17:36 +0900)]
misc: tizen-inform_reboot: Fix to use kernel_write function
Fixed to use kernel_write instead of vfs_write. When using vfs_write,
there is a problem that the user buffer cannot be accessed.
Change-Id: Idb549b9c833188c585395af8191090dda8a5dc4c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 27 Oct 2022 08:31:56 +0000 (17:31 +0900)]
misc: tizen-inform-reboot: Remove force_uaccess begin and end func
Configuration SET_FS is disabled, so this feature is not required.
Change-Id: I349afbd8d2a97aada87080d477cf5ca38d7016c9
Link: https://lore.kernel.org/r/20201202131558.39270-10-mark.rutland@arm.com
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 26 Oct 2022 05:46:41 +0000 (14:46 +0900)]
ARM/arm64: tizen_bcm2711_rt_defconfig: Enable NOP_USB_XCEIV defconfig
Enable NOP_USB_XCEIV defconfig for UBS_PHY defconfig.
Change-Id: I1e39da1a7d915e241f542edb87019f9ed649e8c3
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 26 Oct 2022 05:43:07 +0000 (14:43 +0900)]
ARM: tizen_bcm2711_defconfig: Enable NOP_USB_XCEIV defconfig
Enable NOP_USB_XCEIV defconfig for UBS_PHY defconfig.
Change-Id: I49f8c93e403d333b9aba54239807aa5ef740ebc9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 26 Oct 2022 05:38:29 +0000 (14:38 +0900)]
arm64: tizen_bcm2711_defconfig: Enable NOP_USB_XCEIV defconfig
Enable NOP_USB_XCEIV defconfig for UBS_PHY defconfig.
Change-Id: Ib87795a3296000710a1d2724d9b2816a8680e414
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 26 Oct 2022 04:31:14 +0000 (13:31 +0900)]
rpi4: boot: config: Add display_auto_detect config for mipi dsi
Automatically load overlays for detected DSI displays.
Support touchscreen panel(mipi dsi vc4-kms-dsi-7inch).
Change-Id: I479d7bf8c371237b69d7901ec16c12cb714eb1d9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 20 Oct 2022 01:48:15 +0000 (10:48 +0900)]
packaging: Add kernel dtb overlays
Add kernel dtb overlays into boot partition.
Change-Id: I81449ca04ed865a2eb7e846a70fac23e9ab1d9e1
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 19 Oct 2022 10:22:10 +0000 (19:22 +0900)]
rpi4: boot: config: Add vc4-kms-v3d-pi4 dtoverlays
Add vc4-kms-v3d-pi4 dtoverlays.
Change-Id: I7c3fdb210e61b436925d6541c668f60a6feb64c2
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 19 Oct 2022 10:20:07 +0000 (19:20 +0900)]
scripts: mkbootimg_rpi4: Add overlays dtbo
Add overlays dtbo into boot partition.
Change-Id: Ifb1b01c2e48119492ee16971249e15bf768ba74a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 19 Oct 2022 08:24:30 +0000 (17:24 +0900)]
ARM: tizen_bcm2711_defconfig: Sync with savedefconfig
With kernel v5.15.73.
Change-Id: I78ef64316bea6f9862be9005b73866c4d429a226
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 19 Oct 2022 07:16:07 +0000 (16:16 +0900)]
arm64: tizen_bcm2711_defconfig: Sync with savedefconfig
With kernel v5.15.73.
Change-Id: I0f1457b382c0119f3b6bd968afda2aa0e9d65aa5
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 19 Oct 2022 09:34:52 +0000 (18:34 +0900)]
ARM/arm64: tizen_bcm2711_rt_defconfig: Sync with savedefconfig
With kernel v5.15.73.
Change-Id: Ia555ce50808a02335811544335514101c6218ac9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 19 Oct 2022 08:13:58 +0000 (17:13 +0900)]
usb: serial: cp210x: Fix return type to void
Fix return type to void for fix build error.
Change-Id: I507ea7aa5566ccdda17e69a60cc86ff756f0830a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Seung-Woo Kim [Mon, 19 Sep 2022 10:35:14 +0000 (19:35 +0900)]
drm/v3d: Add gpu_gem_info node via debugfs
Add gpu_gem_info node via debugfs of dri debug sysfs for each
process with pid/tgid and its gem objects. Same gem object can be
opened from multiple processes, so from the gpu_gem_info node,
it can print same gem in multiple lines.
Ported from the commit
dea4ace78ec7 ("drm/vc4: Add gem_info node
via debugfs") to v3d.
NOTE: From Raspberry Pi 4 board, v3d gpu is card0 and also render node
in dri card128, so accessing can be from both nodes. For render fixed
node, it is /sys/kernel/debug/dri/128/gpu_gem_info.
Also, Raspberry Pi 4 board gives entire gem count and total size with
/sys/kernel/debug/dri/128/bo_stats.
Change-Id: Ica09a3b92010e15dddc0a7ca117d4544106757f7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Sung-hun Kim [Thu, 19 May 2022 11:53:02 +0000 (20:53 +0900)]
mm: LKSM: fix a bug in the filter length calculation
Since type of a size variable in the calculation of the
filter length is signed integer, it can make a buggy
situation when the size of a vma is bigger than a range
of a signed integer variable. In this case, the size is
treated as a negative number. As a result, it incurs a
kernel bug at BUG_ON(size < 0).
This patch changes types of variables and members in
lksm_region data structure from signed integer to unsigned
long. Additionally, remove an assertion BUG_ON(size < 0)
because the size never be a negative number.
Change-Id: I822a2ba5d372596ee55dcbec90a019fdf1dc2416
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
Jaehoon Chung [Tue, 26 Apr 2022 05:33:01 +0000 (14:33 +0900)]
ARM/ARM64: tizen_bcm2711: enable CONFIG_RTL8192CU_VENDOR
Enable CONFIG_RTL8192CU_VENDOR as module.
Change-Id: Ic3e8954b432bafda47b50dbc1f30c922035435b1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 26 Apr 2022 04:36:16 +0000 (13:36 +0900)]
net: rtl8192cu: fix wrong configuration in Makefile
RTL8192CU_VENDOR is to distinguish with mainline and non-mainlne.
RTL8192CU_VENDOR is for non-mainline. So it needs to use
CONFIG_RTL8192CU_VENDOR instead of CONFIG_RTL8182CU.
It's why rtl8192cu dongle doesn't work in RPI4 target.
Change-Id: I93a50f5db3a965fdb4d8ee1e5a70d3956d5f6679
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 19 Apr 2022 11:11:40 +0000 (20:11 +0900)]
ARM64: tizen_bcm2711_defconfig: enable configs reelvant to RT2800USB
To use USB Wifi, enable configs relevant to RT2800USB.
Change-Id: Ib0b0f6f65d0e2a6420e2fd220a29fcccbce68c94
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 11 Apr 2022 00:48:04 +0000 (09:48 +0900)]
ARM/ARM64: tizen_bcm2711_defconfig: Enable RT_GROUP_SCHED config
Enable RT_GROUP_SCHED configuration to use the cgroup scheduling.
Change-Id: Iab166b7ab312a780b77316118194af1999abc4fb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Wed, 6 Apr 2022 10:55:03 +0000 (19:55 +0900)]
USB: serial: cp210x: add cp210x-stlink driver
Support usb st-link device and its application, add fixed
version of cp210x driver.
Change-Id: Ic1d1a54723697cabf55545d708e2e92f8caddee2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Mon, 4 Apr 2022 10:48:10 +0000 (19:48 +0900)]
ARM/ARM64: tizen_bcm2711_defconfig: Enable BT_HCIBTUSB config
Enable CONFIG_BT_HCIBTUSB config.
Tizen GHI image is using the USB BT device. To test BT, it needs to enable.
Change-Id: Ic1a233dd10978ee6cd7b9535c4cf240352605bd6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Tue, 15 Mar 2022 06:53:59 +0000 (15:53 +0900)]
script: update build-rpi4 script to support RT kernel build
Update build-rpi4 script to support RT kernel build.
Change-Id: I6f6e8e7579b4ae10defc4110949135f0459871ed
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Tue, 15 Mar 2022 05:11:01 +0000 (14:11 +0900)]
packaging: change a file name to _localversion-rt
Change a file name from localversion-rt to _localversion-rt.
Change-Id: I3a8663aa8f3baab6006c554aafaa13b090b72471
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Łukasz Stelmach [Thu, 3 Mar 2022 12:51:19 +0000 (13:51 +0100)]
spec: Build rt packages
Build a second set of packages with PREEMPT_RT enabled
Change-Id: I1c0ec964f68eda41d6c628b0476a5246045171ad
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Wed, 2 Feb 2022 20:34:57 +0000 (21:34 +0100)]
Add tizen_bcm2711_rt_defconfig for arm and arm64
Add defconfigfiles with PREEMPT_RT enabled
Change-Id: I58b17d42cfa35ba9bd24c8109cd71f33fe3cd7be
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Mon, 7 Mar 2022 23:22:54 +0000 (00:22 +0100)]
printk: suppress printing less important messages to console
Suppress printing to console messages with loglevel above the
console_loglevel via print_sync().
Change-Id: Ia8d53fd2fadb74e323d776f053c91f7832402021
Fixes:
5d6a5a2378db ("patch-5.10.100-rt62.patch")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Thomas Gleixner [Tue, 21 Sep 2021 21:12:50 +0000 (23:12 +0200)]
patch-5.15.79-rt54.patch
Apply PREEMPT_RT patches-5.15.79-rt54.tar.gz.
Change-Id: I60af10d2536d58460a280d9a9c1fe7e51472045b
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Dongwoo Lee [Fri, 26 Oct 2018 01:41:41 +0000 (10:41 +0900)]
usb: gadget: f_fs: Prevent panic due to failure of huge size buffer allocation
The f_fs daemons usually use large size buffer for increasing transfer
performance, but it can cause memory allocation failure in case of
that buddy space is fragmented. Since this, instead of just returning
error in this case, give the chance to retry to allocate memory with
a half length in order to prevent daemon crash due to failure of
buffer allocation.
Change-Id: I4df1987a6f07e558772dcc5f6f020cc550fb1b13
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Conflicts:
drivers/usb/gadget/function/f_fs.c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Seung-Woo Kim [Wed, 16 Feb 2022 07:57:00 +0000 (16:57 +0900)]
WORKAROUND: Revert "staging: bcm2835-codec: Format changed should trigger drain"
This reverts commit
b7e6b495eff31298ba4665f71b2414cc9a8f99c2.
When setting last buffer done on format changed event, bcm2835-codec does not
work for decoding because it recognizes there is no queued buffer even it is
not well fit for v4l2 codec spec. Maybe it is because v4l2 codec gst plugin
v4l2 usage is not up to date in tizen. Until properly fixing it, revert it
to support video h/w decoding on rpi4 in tizen.
Change-Id: Id7d77ee57e58d42eab5a080d63eb8eb1518e6f7a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Dongwoo Lee [Thu, 10 Feb 2022 10:33:23 +0000 (19:33 +0900)]
Revert "cgroup: Disable cgroup "memory" by default"
This reverts commit
2b13c54592135b6fab269517ed687fa9f80bf8e5.
The feature is used for saving memory which is consumed by memcg-related
structure (32bytes per 4K page), but now it is no longer merged on the
latest raspberry pi kernel. So instead of enabling memory cgroup by
adding command to cmdline.txt while preserving this feature, in order to
enable memory cgroup by default, this reverts commit '
2b13c5459213
("cgroup: Disable cgroup "memory" by default")'
Change-Id: I1830129125fb44b36bfe64f97fddf329ea795c3c
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Mateusz Majewski [Thu, 25 Nov 2021 13:32:07 +0000 (14:32 +0100)]
kdbus: export needed symbols for out-of-tree support
We have been asked to move kdbus out-of-tree. It uses a couple
unexported symbols, so we need to (grudgingly) export them.
Change-Id: Ide04c46bbc71f8fffbdefca68959e1048af1c905
Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
Łukasz Stelmach [Mon, 21 Dec 2020 11:40:27 +0000 (12:40 +0100)]
kdbus: Revert "fs: unexport poll_schedule_timeout"
This reverts commit
8f546ae1fc5ce8396827d4868c7eee1f1cc6947a.
Change-Id: I5429471eeb092c55a50e37c0b642d50d69daebc7
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Jaechul Lee [Mon, 30 Jan 2017 23:58:22 +0000 (08:58 +0900)]
packaging: Added '.gbs.conf' for partial build
Added gbs configuration file for enhanced building.
it makes gbs build faster than before.
https://source.tizen.org/documentation/reference/git-build-system/maintenance-models-supported-gbs
Change-Id: I79d57aa5eb49d0fbfa9a3744ec2acb032a274e5e
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Hoegeun Kwon [Tue, 8 Feb 2022 05:52:25 +0000 (14:52 +0900)]
ARM: tizen_bcm2711_defconfig: Enable defconfig for touchscreen
Required defconfig for 7inch touchscreen operation.
Change-Id: I428d3569ec09e20a8cc44df2b41c00446710059a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Tue, 8 Feb 2022 05:52:19 +0000 (14:52 +0900)]
arm64: tizen_bcm2711_defconfig: Enable defconfig for touchscreen
Required defconfig for 7inch touchscreen operation.
Change-Id: I19a35976e0e7782a79275f56c14ebdba82099ec3
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Tue, 8 Feb 2022 05:51:59 +0000 (14:51 +0900)]
packaging: Change the kernel version of the spec file
Change the kernel version to 5.10.95
Change-Id: Ia92dc3b1750e4cc693608bdc06f8bb32efcc8722
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Tue, 8 Feb 2022 05:51:56 +0000 (14:51 +0900)]
ARM: tizen_bcm2711_defconfig: Enable vc4_hdmi_cec
CEC driver is required for hdmi operation.
Change-Id: I4f6333945affe0230c78d38e456f5daee91883f2
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Tue, 8 Feb 2022 05:51:53 +0000 (14:51 +0900)]
arm64: tizen_bcm2711_defconfig: Enable vc4_hdmi_cec
CEC driver is required for hdmi operation.
Change-Id: I2b63797641163a4da088b492c05c3d957fbaa208
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Seung-Woo Kim [Wed, 5 Jan 2022 07:10:38 +0000 (16:10 +0900)]
misc/trinity: Fix invalid spdx identifiers for uapi haeder
The user api header requires "WITH Linux-syscall-note" for
SPDX-License-Identifier when installing. Without it, the command
"make headers_install" fails. To fix it, add proper spdx license
identifier for uapi header.
Change-Id: I95272a29b6808d32eea0e5e95c399a43705f1c96
Fixes: commit
12fc392663db ("misc/trinity: Add trinity npu driver")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Dongju Chae [Wed, 5 Jan 2022 05:58:28 +0000 (14:58 +0900)]
misc/trinity: Fix invalid spdk identifiers
This patch fixes invalid spdk identifiers.
'//' does not work in non-source files.
Change-Id: I1e1a404eb1769440c2fbfb29a461a27c088b19ef
Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
Dongju Chae [Wed, 29 Dec 2021 04:58:43 +0000 (13:58 +0900)]
misc/trinity: Add trinity npu driver
This patch uploads trinity npu driver source codes
(for now, triv2 only) including the srnpu iommu codes.
Note that the driver may not available in the rpi4 board,
but let's just sync codes as the reference tizen kernel.
Change-Id: I61353768adb948e6189aeb2c7c79082c3ddbc2ba
Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
[Fix conflicts for kernel v5.15.y]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Dongwoo Lee [Wed, 1 Dec 2021 05:28:26 +0000 (14:28 +0900)]
scripts: mkbootimg_rpi4.sh: Stop build on any kind of errors
Currently, even if an error occurs during image creation, the script
does not abort, which may result in incorrect image creation. In order
to avoid confusion due to this, if any kind of error occurs during the
build process, the build will be stopped.
Change-Id: I8094f4b97128a8c754e5a9ff22f1b3395a3756b1
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Marek Szyprowski [Fri, 24 Apr 2020 10:21:34 +0000 (12:21 +0200)]
rpi4: boot: Update the firmwares for kernel v5.10.95
Update RPi4 firmware files to the latest version available in firmware
stable branch. With the previous firmware, the display subsystem failed
to be initialized properly by the updated VC4 DRM drivers available in
v5.10.95 vendor tree:
root:~> dmesg | grep drm
[ 0.655835] vc4-drm gpu: [drm] Couldn't stop firmware display driver: -22
[ 0.656074] vc4-drm gpu: bound
fe400000.hvs (ops vc4_hvs_ops)
[ 1.701692] vc4-drm gpu: [drm] Couldn't stop firmware display driver: -22
[ 1.703160] vc4-drm gpu: bound
fe400000.hvs (ops vc4_hvs_ops)
[ 1.704826] vc4-drm gpu: failed to bind
fef00700.hdmi (ops vc4_hdmi_ops): -22
[ 1.713616] vc4-drm gpu: master bind failed: -22
[ 1.713645] vc4-drm: probe of gpu failed with error -22
The updated firmware files fix the above issue.
The updated files comes from https://github.com/raspberrypi/firmware.git
stable branch, commit
48cd70fe84 ("kernel: Update to latest kernel
5.15.61+ from master branch").
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I97de6317f3e5498a372eface39f3a62987b0c45f
Hoegeun Kwon [Tue, 8 Feb 2022 05:52:16 +0000 (14:52 +0900)]
rpi4: boot: config: Add ignore_lcd flag for 7inch touchscreen
Add flag for 7inch touchscreen operation.
Change-Id: Ie750ae0e00daf8448515ba0c4c4596168114882a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Tue, 8 Feb 2022 05:52:03 +0000 (14:52 +0900)]
rpi4: boot: Update the firmwares for kernel v5.10.46
Update the firmwares with the latest version from the vendor git repo.
The commit base is "
d06e0ef85c22 kernel: Bump to 5.10.46"
Since firmwares v5.10.47, there is an issue where HDMI-0 UHD does not
work. So we apply firmwaresv5.10.46.
Change-Id: Iffd23e0e866284ea68a42136ce735f5412e59f25
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Marek Szyprowski [Mon, 22 Nov 2021 11:24:04 +0000 (12:24 +0100)]
tizen: rpi4: disable obsolete options in config.txt
Overlays are not supported on Tizen and 'vc4-fkms-v3d' overlay has been
obsoleted long time ago when VC4 DRM gained full support of the RPi4
hardware, so remove it from the default config.txt. Same for
'dtparam=audio=on'.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Iaa4ad049951e1538d818caa144928a08560911bd
Dongwoo Lee [Wed, 7 Jul 2021 03:33:21 +0000 (12:33 +0900)]
ARM64: tizen_bcm2711_defconfig: Sync with savedefconfig
This fixes to synchronize current defconfig with savedefconfig
Change-Id: I195f05429a15e424834a590df72b73547126d529
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Wed, 7 Jul 2021 03:31:01 +0000 (12:31 +0900)]
ARM: tizen_bcm2711_defconfig: Sync with savedefconfig
This fixes to synchronize current defconfig with savedefconfig
Change-Id: Ia99f98f2d675ae424e796ddbbd087175d9ad3cae
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
INSUN PYO [Wed, 30 Jun 2021 02:35:05 +0000 (11:35 +0900)]
ARM/ARM64: tizen_bcm2711_defconfig: disable ANDROID_LOGGER config
Disable android logger.
The android logger has been moved to the kernel module of the linux-tizen-modules package.
Change-Id: I64c5207ce00a818795e307b79d4bf540a88fe120
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Sung-hun Kim [Tue, 27 Oct 2020 11:48:36 +0000 (20:48 +0900)]
mm: LKSM: bug fix for kernel memory leak
For efficiency, LKSM cleans exited processes in a batched manner when it
finishes a scanning iteration. When it finds exited process while it is in
the scanning iteration, it just pends the mm_slot of the exited process to
the internal list.
On the other hend, when KSM daemon cleans mm_slots of exited processes, it
should care regions of exited processes to remove unreferenced lksm_region
objects.
Previously, most regions are maintained properly but only regions in "head"
of the exited process list does not be cleaned due to the buggy implementation.
At last, uncleaned objects are remained as unreferenced garbages.
Follow message is detected by kmemleak (reported by sw0312.kim@samsung.com):
=========================================================================
unreferenced object 0xffffff80c7083600 (size 128):
comm "ksm_crawld", pid 41, jiffies
4294918362 (age 95.632s)
hex dump (first 32 bytes):
00 37 08 c7 80 ff ff ff 60 82 19 bd 80 ff ff ff .7......`.......
00 35 08 c7 80 ff ff ff 00 00 00 00 00 00 00 00 .5..............
backtrace:
[<
0000000048313958>] kmem_cache_alloc_trace+0x1e0/0x348
[<
00000000fd246822>] lksm_region_ref_append+0x48/0xf8
[<
00000000c5a818a0>] ksm_join+0x3a0/0x498
[<
00000000b2c3f36a>] lksm_prepare_full_scan+0xe8/0x390
[<
00000000013943b5>] lksm_crawl_thread+0x214/0xbf8
[<
00000000b4ce0593>] kthread+0x1b0/0x1b8
[<
000000002a3f7216>] ret_from_fork+0x10/0x18
unreferenced object 0xffffff80c7083700 (size 128):
comm "ksm_crawld", pid 41, jiffies
4294918362 (age 95.632s)
hex dump (first 32 bytes):
00 39 08 c7 80 ff ff ff 00 36 08 c7 80 ff ff ff .9.......6......
00 35 08 c7 80 ff ff ff 00 00 00 00 00 00 00 00 .5..............
backtrace:
[<
0000000048313958>] kmem_cache_alloc_trace+0x1e0/0x348
[<
00000000fd246822>] lksm_region_ref_append+0x48/0xf8
[<
00000000c5a818a0>] ksm_join+0x3a0/0x498
[<
00000000b2c3f36a>] lksm_prepare_full_scan+0xe8/0x390
[<
00000000013943b5>] lksm_crawl_thread+0x214/0xbf8
[<
00000000b4ce0593>] kthread+0x1b0/0x1b8
[<
000000002a3f7216>] ret_from_fork+0x10/0x18
...
=========================================================================
This patch takes care of such possible kernel memory leak problem.
Change-Id: I3e4b299e02018ece1c19ba53e4f10a68520a807b
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
Dongwoo Lee [Wed, 2 Jun 2021 02:48:28 +0000 (11:48 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable WireGuard
This enables WireGuard VPN feature.
Change-Id: I2e63427ed5f667858bd3abddb73e5018dc16ac7e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Wed, 2 Jun 2021 02:36:45 +0000 (11:36 +0900)]
ARM: tizen_bcm2711_defconfig: Enable WireGuard
This enables WireGuard VPN feature.
Change-Id: Ia88f99d110c65120f1e55a1bca2e59b9fe35324f
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Seung-Woo Kim [Fri, 14 May 2021 01:56:44 +0000 (10:56 +0900)]
Revert "sched: Remove sched_setscheduler*() EXPORTs"
This reverts commit
616d91b68cd56bcb1954b6a5af7d542401fde772.
Some out-of-tree module still uses sched_setscheduler(), so for
build, revert removing export symbol for it.
Change-Id: Ic2dbfc04e03e91c5d8daf52039f06149ae0d5fb1
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Fri, 16 Apr 2021 02:18:41 +0000 (11:18 +0900)]
misc: tizen-inform-reboot: fix a potential NULL pointer dereference
Fix a potential NULL pointer dereference.
If there is no file or directory, it has to check whether it's error or
not.
Change-Id: Ia6e7280c1901ae772a5f890c312b7a741fbac0a1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Dongwoo Lee [Wed, 14 Apr 2021 02:52:25 +0000 (11:52 +0900)]
f2fs: Change default mount options
As adjusting mount options for increasing performance and reducing data
move due to bggc, this changes default mount options about fsync mode
and bggc algorithm as below:
fsync_mode: from 'posix' to 'nobarrier'
bggc_algorithm: from 'default' to 'atgc'
Change-Id: I124ced2ef824832df280de74120612dc72167b36
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Mon, 12 Apr 2021 03:56:59 +0000 (12:56 +0900)]
ARM: tizen_bcm2711_defconfig: Enable security labels for f2fs
To support smack on f2fs, this enables security label for f2fs
filesystem.
Change-Id: I834d81cec7d861ab2fbfcaf58ad51688216f4b2d
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Mon, 12 Apr 2021 03:47:07 +0000 (12:47 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable security labels for f2fs
To support smack on f2fs, this enables security label for f2fs
filesystem.
Change-Id: Idb151191387c762fb238d5ad0f78d2710cbc7674
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Hoegeun Kwon [Thu, 1 Apr 2021 05:25:00 +0000 (14:25 +0900)]
ARM: tizen_bcm2711_defconfig: Enable ARM_MODULE_PLTS config
Fixes the problem of not loading kernel modules
Change-Id: I3eeed53c510610b69e2ab8b6ddc09a5680fb54c9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Tue, 30 Mar 2021 02:04:39 +0000 (11:04 +0900)]
packaging: Change the kernel version of the spec file
Change the kernel version to 5.10.25
Change-Id: Ibe698990fefa9e336212788089d7e2503726da88
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Chanwoo Choi [Wed, 24 Mar 2021 03:45:52 +0000 (12:45 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable USB_PRINTER config
Enable USB_PRINTER config to suppot USB printer device.
Change-Id: I2068a283928c8f3c85d5f31b25a13300cdc52783
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Chanwoo Choi [Wed, 24 Mar 2021 03:44:24 +0000 (12:44 +0900)]
ARM: tizen_bcm2711_defconfig: Enable USB_PRINTER config
Enable USB_PRINTER config to suppot USB printer device.
Change-Id: Ic63797d93520e4bc50175c53c7e7328b55a0f724
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Jaehoon Chung [Mon, 22 Mar 2021 08:06:33 +0000 (17:06 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable CONFIG_CFG80211_CRDA_SUPPORT
Enable CONFIG_CFG80211_CRDA_SUPPORT.
Change-Id: If60cab97a05ca8bc01633255ede56279fcc599a8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 22 Mar 2021 07:56:08 +0000 (16:56 +0900)]
Revert "ARM: configs: tizen_bcm2711_defconfig: Disable CONFIG_CFG80211_CRDA_SUPPORT"
This reverts commit
6485924bd76b70c8ed6ba334ef9b5045f4a3686d.
- Enable CONFIG_CFG80211_CRDA_SUPPORT to use country code.
Change-Id: I951b32c86611b6240991e9bb8b362c98bb56b72c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Thu, 25 Feb 2021 08:17:12 +0000 (17:17 +0900)]
media: uvcvideo: Add a probe quirk to Jieli Technology USB PHY 2.0 (1224:2a25)
Repeated video request on Jieli Technology USB PHY 2.0 (1224:2a25)
device causes data stall with below error until reconnection:
uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
To resolve the wrong state, add PROBE quirk bits.
Change-Id: I5efba6ac26d5eea70e2227f9ff9801dd5d8d4790
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Wed, 17 Feb 2021 01:02:48 +0000 (10:02 +0900)]
ARM/ARM64: defconfig: disable SECURITY_SMACK_NETFILTER config
Disable SECURITY_SMACK_NETFILTER configuration.
Change-Id: Id95847392ac2bf53b92dae5ee2c0d4b5c1e41ece
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Mon, 25 Jan 2021 07:24:54 +0000 (16:24 +0900)]
ARM: tizen_bcm2711_defconfig: Enable OVERLAY_FS
Enable CONFIG_OVERLAY_FS for tizen application space.
Change-Id: I46b011effa26e1f7ef9acf5f18d52bc7b54452c5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 25 Jan 2021 07:24:03 +0000 (16:24 +0900)]
ARM64: tizen_bcm2711_defconfig: Enable OVERLAY_FS
Enable CONFIG_OVERLAY_FS for tizen application space.
Change-Id: I1b2aafaeea24b6ef6b07d3c57d542dce13c53b8f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Łukasz Stelmach [Tue, 2 Feb 2021 18:52:58 +0000 (19:52 +0100)]
pid: mark struct pid* argument as const
Change-Id: I17a358ccbae656561e9e1df4ff3fe0055e4eaf20
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Hoegeun Kwon [Mon, 17 Oct 2022 08:27:32 +0000 (17:27 +0900)]
block: make function 'kill_bdev' export
Revert "block: make function 'kill_bdev' static" with Kernel v5.15.
:This reverts commit
3373a3461aa15b7f9a871fa4cb2c9ef21ac20b47.
To free ramdisk memory, BLKFLSBUF support is required.
Change-Id: I55831bc50d8a7344a873172f2f7498d2a0e37786
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Mon, 17 Oct 2022 08:08:01 +0000 (17:08 +0900)]
misc: tizen-inform-reboot: Fix build error
Used in another way instead of set_fs, since v5.10, set_fs cannot be
used.
Change-Id: I581e17a536f3cd8e57e9bd4bc37904ef288f1f5b
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 21 Jan 2021 10:10:27 +0000 (19:10 +0900)]
ARM: tizen_bcm2711_defconfig: Sync with .config with v5.10.y
Sync with .config with v5.10.y
Change-Id: I4259a2c39383c96db46a6e0e3b743227678a6d8f
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Thu, 21 Jan 2021 07:33:01 +0000 (16:33 +0900)]
arm64: tizen_bcm2711_defconfig: Sync with .config with v5.10.y
Sync with .config with v5.10.y
Change-Id: I1291e11f4fb9dd1d855d70f18d5046a0a6492b52
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Wed, 20 Jan 2021 06:15:09 +0000 (15:15 +0900)]
mm: LKSM: Fix to use mmap_lock instead of mmap_sem.
Fix changed interface and incorrectly used structure member names.
Change-Id: I40c50fd7f20799e30dddb752aba464ac9aace28c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Hoegeun Kwon [Tue, 19 Jan 2021 07:28:41 +0000 (16:28 +0900)]
misc: tizen-inform-reboot: Fix to use filp_open.
Modify to use filp_open instead of ksys_open.
Change-Id: I49c8e883d8fd0d76b9ca6c7449303f2859f756b5
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Łukasz Stelmach [Mon, 4 Jan 2021 19:23:41 +0000 (20:23 +0100)]
spec: set CONFIG_LOCALVERSION
Set CONFIG_LOCALVERSION insetad of EXTRAVERSION in Makefile to carry
information about the platform variant.
Change-Id: If1650692162832ea86988e4adb610ce0148edde3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Mon, 4 Jan 2021 13:41:58 +0000 (14:41 +0100)]
spec: support gbs(1) incremental builds
gbs(1) enable incremental builds that are significantly faster, hoewever,
spec files need some adjustments.
+ You can't use -n <name> with %setup
+ There is no point in making mrproper
+ use rsync(1) instead of cp(1)+find(1) to copy devel files
Other changes are:
+ use make headers_install to install headers in the buildroot
+ add _smp_mflags to make(1) things faster
Change-Id: Ia14fbe7acab8b83683f9e07757b4f62a7657b2a5
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Mon, 21 Dec 2020 12:46:37 +0000 (13:46 +0100)]
script: adjust ccache support
Change-Id: I735295fc21cf7caa29b84548a8f21449ed97800e
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Wed, 13 Jan 2021 10:24:40 +0000 (11:24 +0100)]
script: increase the number of concurrent compilers
It is safe to run as many compilation processes as twice the number of
CPUs. This is the default settings of RPM building process in Tizen.
Change-Id: Id68d9d31bc54da11c8732689645408241a517887
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Wed, 13 Jan 2021 10:12:04 +0000 (11:12 +0100)]
script: use $NCPUS for arm64 builds too
Fixes:
b371be68152e ("script: Fix to use NCPUS dynamically")
Change-Id: I32b5c08f4b00ca24032a2f9355d308f3df825fbd
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Seung-Woo Kim [Thu, 7 Jan 2021 09:09:20 +0000 (18:09 +0900)]
ARM: mm: Free memblock from free_initrd_mem()
Even after free_initrd_mem(), memblock for initrd remains. Free
memblock for initrd from free_initrd_mem().
Reported-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
[sw0312.kim: port mainline posted patch to 5.4.y]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I42a7461558868cdfdc559959112c81bc4c8b10c5