platform/kernel/linux-amlogic.git
2 years agof2fs: fix wrong checkpoint_changed value in f2fs_remount() 62/266762/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211121.212438 accepted/tizen/unified/20211119.134218 submit/tizen/20211117.113146 submit/tizen_6.5/20211119.012519
Chao Yu [Thu, 18 Nov 2021 06:35:20 +0000 (15:35 +0900)]
f2fs: fix wrong checkpoint_changed value in f2fs_remount()

In f2fs_remount(), return value of test_opt() is an unsigned int type
variable, however when we compare it to a bool type variable, it cause
wrong result, fix it.

Fixes: 4354994f097d ("f2fs: checkpoint disabling")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
[dwoo08.lee: backport from mainline commit 277afbde6ca2]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: Icd4dfff441bf84f605d8d09de7be89da88548654

2 years agof2fs: flush data when enabling checkpoint back 61/266761/1
Jaegeuk Kim [Wed, 17 Nov 2021 12:20:52 +0000 (21:20 +0900)]
f2fs: flush data when enabling checkpoint back

During checkpoint=disable period, f2fs bypasses all the synchronous IOs such as
sync and fsync. So, when enabling it back, we must flush all of them in order
to keep the data persistent. Otherwise, suddern power-cut right after enabling
checkpoint will cause data loss.

Fixes: 4354994 ("f2fs: checkpoint disabling")
Cc: stable@vger.kernel.org
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
[dwoo08.lee: backport from mainline commit b0ff4fe746fd]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: Ic0810d99c5a3938e191461bd66e7862a4a68e12b

2 years agof2fs: checkpoint disabling 60/266760/1
Daniel Rosenberg [Tue, 21 Aug 2018 02:21:43 +0000 (19:21 -0700)]
f2fs: checkpoint disabling

Note that, it requires "f2fs: return correct errno in f2fs_gc".

This adds a lightweight non-persistent snapshotting scheme to f2fs.

To use, mount with the option checkpoint=disable, and to return to
normal operation, remount with checkpoint=enable. If the filesystem
is shut down before remounting with checkpoint=enable, it will revert
back to its apparent state when it was first mounted with
checkpoint=disable. This is useful for situations where you wish to be
able to roll back the state of the disk in case of some critical
failure.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
[Jaegeuk Kim: use SB_RDONLY instead of MS_RDONLY]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
[dwoo08.lee: port from android-common-kernel branch android-4.9-q commit f22f93a90601]
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Change-Id: I7020cb09b360b291b324baae71882e64a7776ed8

2 years agoARM: defconfig: disable ANDROID_LOGGER 91/266591/1 accepted/tizen/6.5/unified/20211116.084158 accepted/tizen/unified/20211116.130418 submit/tizen/20211116.032511 submit/tizen_6.5/20211116.032524
Jaehoon Chung [Tue, 16 Nov 2021 03:54:43 +0000 (12:54 +0900)]
ARM: defconfig: disable ANDROID_LOGGER

Disable ANDROID_LOGGER.

Change-Id: I0fa79d5f7829f59eb8467f4daa8e81a390ec57fa
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2 years agoBluetooth: Set le data length command and event 47/261647/1 accepted/tizen/6.5/unified/20211028.115810 accepted/tizen/unified/20210722.124831 submit/tizen/20210722.060806 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release
Sudha Bheemanna [Fri, 16 Sep 2016 10:07:22 +0000 (15:37 +0530)]
Bluetooth: Set le data length command and event

Sets the data length for the le data packet with in the
advised limits. MGMT command and event are added to handle
the setting of data length.

Change-Id: Ia5c2167743cc9a29190e5631973e9d52d41caa1d
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Read host suggested default le data length 46/261646/1
Sudha Bheemanna [Fri, 16 Sep 2016 07:24:31 +0000 (12:54 +0530)]
Bluetooth: Read host suggested default le data length

This patch adds MGMT command and code for supporting reading
default le data length value set at the controller.

Change-Id: I2b81982dc26ed5af4a8f8a3d3913db5d64625260
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Write host suggested default le data length 45/261645/1
Sudha Bheemanna [Fri, 16 Sep 2016 06:39:57 +0000 (12:09 +0530)]
Bluetooth: Write host suggested default le data length

This patch adds MGMT command and code for supporting write
default le data length command to the controller.

Change-Id: I3d2c8b622b7913a3ed542342e3ba8076c30dc279
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Read LE Max data length command 44/261644/1
Sudha Bheemanna [Fri, 16 Sep 2016 05:08:30 +0000 (10:38 +0530)]
Bluetooth: Read LE Max data length command

This patch adds the MGMT command and code to support reading
the maximum data length supported command for LE.

Change-Id: I4dc0041f2070de2ccb6a4164c8823612863c941e
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Fix IPSP connection callback event issue. 43/261643/1
h.sandeep [Fri, 16 Sep 2016 09:15:24 +0000 (14:45 +0530)]
Bluetooth: Fix IPSP connection callback event issue.

This patch fixes the IPSP connection callback event issue
between kernel and bluez layer.

Change-Id: Ia4d625aa8a6dbc9da89a7d9f12308af9c90d0594
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: IPSP Connect/Disconnect apis 42/261642/1
Sudha Bheemanna [Thu, 15 Sep 2016 07:23:03 +0000 (12:53 +0530)]
Bluetooth: IPSP Connect/Disconnect apis

This patch adds MGMT code to support IPSP connect and
disconnect apis and handle connection state changed event.

Change-Id: I1c41ec4f38cf9a108e443def3bc23c1b964e2985
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add support to enable/disable IPSP 41/261641/1
Sudha Bheemanna [Thu, 15 Sep 2016 04:42:09 +0000 (10:12 +0530)]
Bluetooth: Add support to enable/disable IPSP

This patch supports MGMT commands and code to enable or disable
IPSP 6LowPan features.

Change-Id: Ia866ecfa517c7d7e4320f17d94d80dfeb9261e59
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Fix issue in the Set LE privacy function. 40/261640/1
Sudha Bheemanna [Thu, 8 Sep 2016 10:51:01 +0000 (16:21 +0530)]
Bluetooth: Fix issue in the Set LE privacy function.

This patch fixes not to check the hdev power before setting
LE Privacy.

Change-Id: I344ea13b1d90527e3e7554ec616cdc640b85159c
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Store the key if auth type is P192 39/261639/1
Sudha Bheemanna [Mon, 12 Sep 2016 07:16:44 +0000 (12:46 +0530)]
Bluetooth: Store the key if auth type is P192

This patch allows to store the key after authentication
if auth type is "HCI_LK_AUTH_COMBINATION_P192"

Change-Id: Ie44dbe7dfec361edab61aceaf9b2ca4057b88fa5
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Cancel the Sniff timer 38/261638/1
Sudha Bheemanna [Thu, 8 Sep 2016 11:31:39 +0000 (17:01 +0530)]
Bluetooth: Cancel the Sniff timer

This patch adds code to cancel the sniff timer.

Change-Id: I756d3b08acf6462044d1fb204064fe12ce1238c1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Enable sniff mode for incoming connection 37/261637/1
Sudha Bheemanna [Thu, 8 Sep 2016 11:10:50 +0000 (16:40 +0530)]
Bluetooth: Enable sniff mode for incoming connection

Add provision to set the link poilicy to enable sniff mode
for incoming connection.

Change-Id: Ifff9e9f0838f26a6c96d81f4cbaae43429aa231f
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Modify fast connectable type. 36/261636/1
Sudha Bheemanna [Thu, 8 Sep 2016 10:31:23 +0000 (16:01 +0530)]
Bluetooth: Modify fast connectable type.

This patch modifies the fast connectable function
to just set the type.

Change-Id: I0cce96f85d823f9798ae7f147c4e33ce7b18e0e3
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Send Authentication Request command on pairing failure 35/261635/1
Sudha Bheemanna [Thu, 8 Sep 2016 09:41:28 +0000 (15:11 +0530)]
Bluetooth: Send Authentication Request command on pairing failure

This patch allows to send HCI_OP_AUTH_REQUESTED command
to the remote device if pairing failure happens because
of pin or key missing error.

Change-Id: I9c28394dc06b22fd5fe9e58ac0b7d728c086bde4
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Enable inquiry and page scan 34/261634/1
Sudha Bheemanna [Thu, 8 Sep 2016 09:24:54 +0000 (14:54 +0530)]
Bluetooth: Enable inquiry and page scan

This patch enables the inquiry and page scan after ACL
disconnection with one device and if there are no other
devices connected.

Change-Id: Ifb28be7d23f237d35112b2e0739ed55169baacf7
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Change authentication requirement. 33/261633/1
Sudha Bheemanna [Thu, 8 Sep 2016 07:34:11 +0000 (13:04 +0530)]
Bluetooth: Change authentication requirement.

This patch updates the authentication requirement to general
MITM if local and remote device IO capabilities are not
NO_INPUT_NO_OUTPUT.

Change-Id: Ie3955c3f8287418e74af20d40bdf30d0f1963e31
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Set link Supervision timeout for a connection 32/261632/1
Sudha Bheemanna [Thu, 8 Sep 2016 06:54:43 +0000 (12:24 +0530)]
Bluetooth: Set link Supervision timeout for a connection

This patch allows to set the supervision timeout for a connection
if the device role is master.

Change-Id: I7897167ec07803f3059f2ab4d3314b0b7a951533
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Set filter policy for LE connection 31/261631/1
Sudha Bheemanna [Thu, 8 Sep 2016 05:51:06 +0000 (11:21 +0530)]
Bluetooth: Set filter policy for LE connection

This patch sets the filter policy to a default value 0x01 during
LE auto connection if the destination address is not set. And it
updates the destination address once the LE connection complete
event is recieved during LE auto connection. And for it checks
valid destination address before cancelling LE connection when
connection timeout occurs.

Change-Id: I9877556c0b0ab4826f5f4934ead4d85b7837036d
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[squash patches, LE connection policy, set dest address and check dest address before cancelling connection]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Get Advertising TX power 30/261630/1
Sudha Bheemanna [Wed, 7 Sep 2016 09:52:08 +0000 (15:22 +0530)]
Bluetooth: Get Advertising TX power

This patch adds MGMT command to read the advertising TX power.

Change-Id: Ide9e5d332f034928d2eae2cbd68a025a0d42be1b
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Set the link for SCO connection 29/261629/1
Sudha Bheemanna [Thu, 8 Sep 2016 07:07:45 +0000 (12:37 +0530)]
Bluetooth: Set the link for SCO connection

This patch sets the link policy for SCO/eSCO connection.

Change-Id: I71caef5a3887f73a10329b6886c8cf52b80e8d37
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[add link policy setting in sco connection]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add MGMT command to set SCO settings 28/261628/1
Sudha Bheemanna [Tue, 6 Sep 2016 11:08:36 +0000 (16:38 +0530)]
Bluetooth: Add MGMT command to set SCO settings

Added code to set sco settings.

Change-Id: I37aa572436241b06e00d1e9e75964aac747eeba5
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[remove sco link policy part]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add multiple LE advertise state change event 27/261627/1
Sudha Bheemanna [Thu, 8 Sep 2016 05:01:17 +0000 (10:31 +0530)]
Bluetooth: Add multiple LE advertise state change event

This patch adds code for providing multiple LE advertisement state
changed event to upper layer.

Change-Id: I58fb8044e74402376ec30b121081edce7c8709d1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[divide hci_vendor_mutli_adv_state_change_evt and remove hci event structure from mgmt]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add LE device found MGMT event 26/261626/1
Sudha Bheemanna [Thu, 8 Sep 2016 04:40:03 +0000 (10:10 +0530)]
Bluetooth: Add LE device found MGMT event

This patch adds new MGMT event for LE device discovery and allows
the handling of all advertisement packets in platform.

Change-Id: I1927acb75eff0b60a5899898c6d7a000e1a108ef
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: fix vendor ext rssi link alert event 25/261625/1
Seung-Woo Kim [Wed, 28 Sep 2016 16:59:05 +0000 (01:59 +0900)]
Bluetooth: fix vendor ext rssi link alert event

This patch fixes style for rssi link alert event from vendor
specific group ext.

Change-Id: I0e7003e417c5f5a590cce8264caccad515dd3c10
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add H/W TX timeout error MGMT event 24/261624/1
Sudha Bheemanna [Wed, 7 Sep 2016 11:17:58 +0000 (16:47 +0530)]
Bluetooth: Add H/W TX timeout error MGMT event

This patch sends the H/W TX timeout error MGMT event if HCI command
timeout occurs after sending HCI commands.

Change-Id: I5eb593f2fe4d31c404dd94ef582790e47d03b10a
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add hardware error MGMT event 23/261623/1
Sudha Bheemanna [Wed, 7 Sep 2016 10:12:22 +0000 (15:42 +0530)]
Bluetooth: Add hardware error MGMT event

Add code to handle hardware error MGMT event.

Change-Id: I5875ea2aeae7aba95c1f8e15b456704dc6bcdee4
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add LE vendor specific event handler 22/261622/1
Sudha Bheemanna [Thu, 8 Sep 2016 05:26:15 +0000 (10:56 +0530)]
Bluetooth: Add LE vendor specific event handler

This patch adds the vendor specific LE meta event handler.
It handles the vendor specific handles like,
LE_MULTI_ADV_STATE_CHANGE_SUB_EVENT, LE_RSSI_LINK_ALERT.

Change-Id: I1f344a31e36f9c7442fe0bd8b598e67d9f5fb9bf
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[divide hci vendor speicif group event function]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add set LE scan parameter feature 21/261621/1
Sudha Bheemanna [Thu, 25 Aug 2016 07:16:07 +0000 (12:46 +0530)]
Bluetooth: Add set LE scan parameter feature

Added new MGMT command to set LE scan parameters

Change-Id: I5ea660f97e93dfcc72273971ad0250e7f582f718
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Set Manufacturer data feature 20/261620/1
Sudha Bheemanna [Thu, 25 Aug 2016 06:43:09 +0000 (12:13 +0530)]
Bluetooth: Set Manufacturer data feature

Added new MGMT command to set the manufacturer data
in the BR/EDR packet.

Change-Id: Ie08062f4cad0c676deab94fd95fdc1a8c5602135
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add LE connection parameter update procedure 19/261619/1
Sudha Bheemanna [Thu, 25 Aug 2016 06:28:22 +0000 (11:58 +0530)]
Bluetooth: Add LE connection parameter update procedure

Added new MGMT command to update LE connection parameters

Change-Id: I6ae16513437cd42d40e75958aa8415baa1cbedbb
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add stop LE auto connection feature 18/261618/1
Sudha Bheemanna [Thu, 25 Aug 2016 06:11:34 +0000 (11:41 +0530)]
Bluetooth: Add stop LE auto connection feature

Added new MGMT command to disable LE auto connection.

Change-Id: I1f5f61b83227501ad54019008b405fd47fd722a3
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add BT LE discovery feature 17/261617/1
Sudha Bheemanna [Thu, 25 Aug 2016 05:53:02 +0000 (11:23 +0530)]
Bluetooth: Add BT LE discovery feature

This patch adds new MGMT commands to start LE discovery separately
and handles LE discovery state.

Change-Id: I85958b8c2b5c7e28f57c69e86037ab1e61a75db0
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Update device name on remote_name_event 16/261616/1
Sudha Bheemanna [Thu, 25 Aug 2016 04:47:19 +0000 (10:17 +0530)]
Bluetooth: Update device name on remote_name_event

This patch updates the device name on receiving the HCI event
remote_name_event during connection establishment.

Change-Id: I9a217e6760b1803a70af201a3f6903e722079749
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add RSSI Monitor feature 15/261615/1
Sudha Bheemanna [Wed, 24 Aug 2016 11:51:15 +0000 (17:21 +0530)]
Bluetooth: Add RSSI Monitor feature

Added feature support for monitoring the RSSI value.
Commands and events for enabling, disabling and setting
rssi threshold values are added.

Change-Id: I850643a9228afc017e54217a11826b9c6a68a96b
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Functions to modify WhiteList 14/261614/1
Sudha Bheemanna [Wed, 24 Aug 2016 09:32:56 +0000 (15:02 +0530)]
Bluetooth: Functions to modify WhiteList

This patch provides MGMT commands to manage the white
list which includes, adding, removing and clearing the
devices from white list.

Change-Id: If71107129d3a090ae81448a8122b76accd4f5522
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add Advertising Packet Configuration 13/261613/1
Sudha Bheemanna [Wed, 24 Aug 2016 06:47:16 +0000 (12:17 +0530)]
Bluetooth: Add Advertising Packet Configuration

This patch provides new MGMT commands to configure
the advertising data and scan response data packets for
LE peripheral devices.

Change-Id: I914d13795f4fb58e5f2e1cadb55086f4bcbc82df
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add MGMT tizen_handlers and TIZEN_OP_BASE_CODE. 12/261612/1
h.sandeep [Thu, 1 Sep 2016 06:30:57 +0000 (12:00 +0530)]
Bluetooth: Add MGMT tizen_handlers and TIZEN_OP_BASE_CODE.

Added the basic skeleton code for tizen_mgmt_handlers and
mgmt_tizen.h header file.

Change-Id: I8f3100aa79e6673840ba561f0a9c50238ca0880b
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoBluetooth: Add "TIZEN_BT" flag 11/261611/1
Sudha Bheemanna [Tue, 23 Aug 2016 11:37:10 +0000 (17:07 +0530)]
Bluetooth: Add "TIZEN_BT" flag

Added the tizen specific flag for use in adding tizen patches.

Change-Id: Ia391644fddbe600c8d845e0bf0808f587aa73e0c
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
2 years agoslub: Remove userspace notifier for cache add/remove 64/261464/1 accepted/tizen/unified/20210720.062554 submit/tizen/20210720.014109
Christoph Lameter [Tue, 2 Jun 2020 04:45:50 +0000 (21:45 -0700)]
slub: Remove userspace notifier for cache add/remove

I came across some unnecessary uevents once again which reminded me
this.  The patch seems to be lost in the leaves of the original
discussion [1], so resending.

[1] https://lore.kernel.org/r/alpine.DEB.2.21.2001281813130.745@www.lameter.com

Kmem caches are internal kernel structures so it is strange that
userspace notifiers would be needed.  And I am not aware of any use of
these notifiers.  These notifiers may just exist because in the initial
slub release the sysfs code was copied from another subsystem.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Michal Koutný <mkoutny@suse.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Link: http://lkml.kernel.org/r/20200423115721.19821-1-mkoutny@suse.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[sw0312.kim: backport mainline Linux v5.8 commit d7660ce5914d
 to remove unnecessary uevent for amlogic targets]
Reported-by: INSUN PYO <insun.pyo@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Idb636d2fbff9fd7f77a8b90c2bbee3892c0c5e77

2 years agonet: rtl88xx: use null nic_hdl for _init_timer() without checking adapter 39/259539/1 accepted/tizen/unified/20210610.022618 submit/tizen/20210609.103936
Seung-Woo Kim [Wed, 9 Jun 2021 09:10:06 +0000 (18:10 +0900)]
net: rtl88xx: use null nic_hdl for _init_timer() without checking adapter

In linux case, _init_timer() does not use nic_hdl, the 2nd argument,
from drivers/net/wireless/rtl8812au/include/osdep_service_linux.h and
rlt88xx should register timer even there is null adapter, otherwise
interface-up causes mod_timer crash.

Change-Id: I30addc152c197e0243b9b58e8108799f0f94330c
Fixes: commit 52ddac0afb83 ("net: rtl88xx: fix to check null adapter")
Reported-by: Cheoleun Moon <chleun.moon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2 years agoARM64: tizen_kvim3_defconfig: enable CONFIG_BT_HCIUART_BCM 54/259454/1 accepted/tizen/unified/20210610.141303 submit/tizen/20210608.081709
Jaehoon Chung [Tue, 8 Jun 2021 07:59:32 +0000 (16:59 +0900)]
ARM64: tizen_kvim3_defconfig: enable CONFIG_BT_HCIUART_BCM

Enable CONFIG_BT_HCIUART_BCM configuration.

Change-Id: I13525bce2d01d55e32712faf730ddc57971b5816
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2 years agoarm64: configs: tizen_kvims: Enable sensor device 54/259254/1 accepted/tizen/unified/20210607.011721 submit/tizen/20210603.103436
Seung-Woo Kim [Thu, 3 Jun 2021 05:50:00 +0000 (14:50 +0900)]
arm64: configs: tizen_kvims: Enable sensor device

As like kvims_defconfig, enable SENSOR_DEVICE to support
g-sensor.

Change-Id: If747f690aada88d17e49ad69cdc5b88e635687c4
Ref: commit 9519fc2cb1da ("Gsensor: add kxtj3 driver support")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2 years agoGsensor: add kxtj3 driver support 53/259253/1
terry [Fri, 19 Jul 2019 06:39:01 +0000 (14:39 +0800)]
Gsensor: add kxtj3 driver support

Signed-off-by: Nick Xie <nick@khadas.com>
[sw0312.kim: pick khadas 3-axis sensor commit
   from https://github.com/khadas/linux/commit/0ff70f7087ecad3d28b06c8632ea93fd8cd056af
]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Id6166357a6816a3bca1d77072dcfc0ea9499aafc

2 years agoamlogic: drm: support zpos update 39/259139/1 accepted/tizen/unified/20210602.122333 submit/tizen/20210602.005153
Sihyun, Park [Mon, 31 May 2021 10:19:37 +0000 (19:19 +0900)]
amlogic: drm: support zpos update

Add to support zpos property update.

Change-Id: I854c644673b46fbf4f620ce1249e57b7206d6fce
Signed-off-by: Sihyun, Park <shwan.park@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2 years agoamlogic: drm: support fence/cache op and gem_info 38/259138/1
Seung-Woo Kim [Mon, 12 Apr 2021 06:40:26 +0000 (15:40 +0900)]
amlogic: drm: support fence/cache op and gem_info

Support fence operation, cache operation and geminfo
in debugfs from amlogic meson drm.

Change-Id: I0d7bc71c7d489e65c0c1051df21fc7b034c3af53
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
amlogic: drm: add am_meson_gem_get_ioctl

am_meson_gem_get_ioctl is used by libtbm-meson.

Change-Id: I1f2fd5b8413d26bbf774b0f12a09534fa911d305
Signed-off-by: Sihyun, Park <shwan.park@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2 years agoamlogic: drm: don't call irq in crtc init stage 37/259137/1
Ao Xu [Mon, 12 Apr 2021 06:38:45 +0000 (15:38 +0900)]
amlogic: drm: don't call irq in crtc init stage

vblank_disable_fn and am_meson_vpu_irq exist deadlock.
Disable vblank_disable_fn to avoid spin_lock_irqsave to
resolve the deadlock issue.

Change-Id: I59b454d2c2c0535f2e786e3beb4ca31c124483b0
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Signed-off-by: Sihyun, Park <shwan.park@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic: drm: mmap a dmabuf imported from another driver 36/259136/1
Sihyun, Park [Mon, 12 Apr 2021 06:38:35 +0000 (15:38 +0900)]
amlogic: drm: mmap a dmabuf imported from another driver

Change-Id: Iff7d5c204bbffac22e528840f264f669cae21d96
Signed-off-by: Sihyun, Park <shwan.park@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic: drm: disable 'meson_fb is NULL! warning log 35/259135/1
Sihyun, Park [Mon, 12 Apr 2021 06:36:32 +0000 (15:36 +0900)]
amlogic: drm: disable 'meson_fb is NULL! warning log

The log is printed when ovelay layer has no content to display,
and it is normal thing.

Change-Id: I83f078a2670f5f98098d5508603b77b6d5820d4e
Signed-off-by: Sihyun, Park <shwan.park@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoARM/ARM64: defconfig: disable SECURITY_SMACK_NETFILTER config 16/253716/1 accepted/tizen/unified/20210217.120515 submit/tizen/20210217.042922
Jaehoon Chung [Wed, 17 Feb 2021 01:32:21 +0000 (10:32 +0900)]
ARM/ARM64: defconfig: disable SECURITY_SMACK_NETFILTER config

Disable SECURITY_SMACK_NETFILTER configuration.

Change-Id: Ifc649881900c93064d9e48ef1e762d5ee335a9e2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoarm64: dts: amlogic: Use only meson64_odroidn2.dtb for OdroidN2 boards 19/253219/1 accepted/tizen/unified/20210210.052204 submit/tizen/20210209.230141
Marek Szyprowski [Fri, 5 Feb 2021 13:15:35 +0000 (14:15 +0100)]
arm64: dts: amlogic: Use only meson64_odroidn2.dtb for OdroidN2 boards

Switch OdroidN2 board to use meson64_odroidn2.dtb. For Tizen, the DRM
subsystem is enabled for the all Amlogic boards, so there is no need to
have separate dtb with the DRM enabled for OdroidN2 board. This also
fixes DRM support for the OdroidN2+ variant, which use
meson64_odroidn2_plus.dtb, which is based on meson64_odroidn2.dts.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ideeefcaabe5355e59f564abba730e1ad88ea2ce8

3 years agoof: fix reserved memory handling 26/252826/3 accepted/tizen/unified/20210204.134610 submit/tizen/20210204.012538
Marek Szyprowski [Tue, 2 Feb 2021 10:24:36 +0000 (11:24 +0100)]
of: fix reserved memory handling

Mainline u-boot marks some secure monitor relate memory with the
/memreserve/ device-tree method. On the other hand, the same memory is
already defined in /reserved-memory node with the all details needed to
use it by the respective secure monitor deamon. Check for such case and
properly initialize such reserved memory regions instead of returning a
failure.

This allows to use vendor kernel with mainline u-boot on Amlogic SoCs.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I0bd3b51899cc17f17d1bcbd0c2c5a0d88686b245

3 years agoAdd perf package build 33/252833/2
Sylwester Nawrocki [Tue, 2 Feb 2021 18:16:12 +0000 (19:16 +0100)]
Add perf package build

Add build of the perf performance monitoring tool package.
Based on spec from the platform/kernel/linux-rpi3 kernel tree.

Change-Id: Iedee81ac5f81f63c40ed6a379f2fca3f793c4d8b
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agoarm64: dts: amlogic: VIM3/VIM3L: change display to drm 71/252771/1
Seung-Woo Kim [Tue, 2 Feb 2021 07:30:56 +0000 (16:30 +0900)]
arm64: dts: amlogic: VIM3/VIM3L: change display to drm

Instead of fbdev, change display to drm.

Change-Id: I1c49c92f83ae4c9904116143881839d55cac2634
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64: dts: amlogic: Fix use drm of g12b for odroid-n2 70/252770/1
Hoegeun Kwon [Tue, 2 Feb 2021 07:29:00 +0000 (16:29 +0900)]
arm64: dts: amlogic: Fix use drm of g12b for odroid-n2

The odroid-n2 has g12b soc family, so use the g12b drm instead of g12a.

Change-Id: I2fb0cd03e6b9289bcd4361a80fdbeaad6a45d2bb
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64: dts: amlogic: Fix to use drm for odroid-c4 69/252769/1
Hoegeun Kwon [Tue, 2 Feb 2021 07:20:10 +0000 (16:20 +0900)]
arm64: dts: amlogic: Fix to use drm for odroid-c4

Fix to use g12a_drm for odroid-c4.

Change-Id: I031e0e3e51c01d4f87a68a63177fbb195111d983
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64: configs: tizen_*: enable peripheral devices 70/252670/1
Seung-Woo Kim [Mon, 1 Feb 2021 06:52:43 +0000 (15:52 +0900)]
arm64: configs: tizen_*: enable peripheral devices

To support Tizen platform and TCT, enable related peripheral
devices including virtual devices.

Change-Id: I621ecaa8342f0c4f2b92c16dcb156e011cc42b8d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoANDROID: usb: gadget: configfs: Support multiple android instances 69/252669/1
Ajay Agarwal [Tue, 30 May 2017 04:57:23 +0000 (10:27 +0530)]
ANDROID: usb: gadget: configfs: Support multiple android instances

Some platforms may choose to create more than one gadget ConfigFS
instance, often due to the hardware having multiple USB gadget
controllers which can be used simultaneously. Currently
android_device_create() assumes only one gadget instance is ever
created and creates a single "android0" device under the "android_usb"
class, resulting in a crash if a second gadget is registered since the
global android_device pointer gets overwritten with -EEXIST.

Fix this by properly supporting multiple instances and naming the
devices "android0", "android1", etc. when each instance is created
(via mkdir). For now keep the global singleton android_device pointing
to android0 for ease of use since f_midi and f_audio_source currently
use create_function_device() without any context as to which gadget
they will be bound to.

Bug: 120441124
Fixes: 429213f5d9eb ("ANDROID: usb: gadget: configfs: Add function devices to the parent")
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
[jackp@codeaurora.org: reworded commit text]
Signed-off-by: Jack Pham <jackp@codeaurora.org>
[sw0312.kim: backport from android common kernel commit 852619242c94 to support multiple udc]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Iade5973db69a2a4a1800c8218b9f5fba6b59a1c8

3 years agocrypto: zstd: Remove not backported scompress 68/252668/1
Seung-Woo Kim [Mon, 1 Feb 2021 07:43:15 +0000 (16:43 +0900)]
crypto: zstd: Remove not backported scompress

The zstd was backported but there was build issue. Remove not
backported scompress from ztd.

Fixes: commit 147b60871fc2 ("zstd_support")
Ref: commit cc388d204f77 ("BACKPORT: crypto: zstd - Add zstd support") of https://android.googlesource.com/kernel/common
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Icd35f40ed2295d26c26be8c82edad0108edd4ae0

3 years agoarm64: configs: tizen_*: Enable meson drm config options 13/252513/1
Hoegeun Kwon [Fri, 29 Jan 2021 05:22:38 +0000 (14:22 +0900)]
arm64: configs: tizen_*: Enable meson drm config options

Enable meson drim config options.

Change-Id: Ief736b97522ad16d0c76f1d9d1f7fde1342b827d
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64: configs: tizen_*: Enable tizen required config options 03/252503/1
Seung-Woo Kim [Thu, 28 Jan 2021 08:18:46 +0000 (17:18 +0900)]
arm64: configs: tizen_*: Enable tizen required config options

Enable tizen required config options.
Ref: options in https://git.tizen.org/cgit/platform/kernel/tizen-kernel-configs/

Change-Id: I6480a318faaa7877e9ba59f6d34d7e6b2ea109d5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64: configs: tizen_*: cleanup configs 02/252502/1
Hoegeun Kwon [Thu, 28 Jan 2021 08:17:46 +0000 (17:17 +0900)]
arm64: configs: tizen_*: cleanup configs

Remove unused modules for Tizen and clean up configs, also set
some necessary modules as built-in instead of module build.

Change-Id: Idae373617d6b3dcf00d9e1deb4dd1038d002c527
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoscript: increase the number of concurrent compilers 01/252501/1
Seung-Woo Kim [Fri, 29 Jan 2021 04:07:08 +0000 (13:07 +0900)]
script: increase the number of concurrent compilers

It is safe to run as many compilation processes as twice
the number of CPUs.

Change-Id: Ic6c052d6c30f94920c3bdd272c2f1b19ecbe1ac2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agomisc: khadas-mcu: fan: enable as auto mode by default 68/252368/2
Seung-Woo Kim [Wed, 27 Jan 2021 07:25:16 +0000 (16:25 +0900)]
misc: khadas-mcu: fan: enable as auto mode by default

Without sysfs contron, by default enable khadas fan as auto mode.
It will check cpu temperature per every 5 seconds.

Change-Id: I111b542ee62b2fdda0f65124f030db4f13b85c5f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64/ptrace: Add compat FPR register support 74/252174/2
Seung-Woo Kim [Tue, 19 Nov 2019 01:21:01 +0000 (10:21 +0900)]
arm64/ptrace: Add compat FPR register support

From aarch32 ptrace view, fpr register support is done with vfp
registers. As like aarch32 ptrace view, Add to suppot compat fpr
resister with vfp.

Change-Id: If5b4b6b5f33b7691ba9d3b65c1bffcf316e19588
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic: bt: Remove memory leak 73/252173/2
Seung-Woo Kim [Mon, 25 Jan 2021 06:48:02 +0000 (15:48 +0900)]
amlogic: bt: Remove memory leak

The prdata is covered by pdata from bt_probe, so there is memory
leak for prdata. Remove the memory leak store prdata, and get
pdata from prdata.

This fixes following kmemleak issue:
   unreferenced object 0xffffffc00c39e300 (size 64):
   ...
     backtrace:
       [<ffffff90094318b8>] create_object+0x278/0x580
       [<ffffff900b06e90c>] kmemleak_alloc+0x74/0xa0
       [<ffffff9009409fa0>] kmem_cache_alloc_trace+0x328/0x5e8
       [<ffffff900a850b04>] bt_probe+0x20c/0x870
   ...

Change-Id: Ic3f2091d16806dba0855927d048747b40cb96f80
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agokmemleak: Fix bad memory access with scan stack for amlogic vmap 72/252172/1
Seung-Woo Kim [Mon, 25 Jan 2021 06:44:20 +0000 (15:44 +0900)]
kmemleak: Fix bad memory access with scan stack for amlogic vmap

When AMLOGIC_VMAP is enabled, try_get_task_stack() returns address
of stasck instead of page address. This causes bad memory access
during kmemleak scan stack. Fix the bad memory access by using
aml_task_stack().

Note: Maybe, get_task_stack() needs to call aml_task_stack() is
required, but aml_task_stack() has no consideration for kmalloced
task stack, so just fix from kmemleak.

Change-Id: I58a2e324cb92cd692d2260c675e81d7d0715e96c
Fixes: commit 4d6ae4359385 ("mm: optimize thread stack usage on arm64 [1/1]")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic: mm: Add aml_task_stack() in amlogic vmap 71/252171/1
Seung-Woo Kim [Mon, 25 Jan 2021 06:40:42 +0000 (15:40 +0900)]
amlogic: mm: Add aml_task_stack() in amlogic vmap

In kerne, there are several places to get stack page address of
task and when using AMLOGIC_VMAP, task_stack_page() does not
return page address. Add aml_task_stack() to get task stack page
for amlogic vmap.

Change-Id: I64cd827f98bec74357227dcc3ed546807b5406e3
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64: dts: amlogic: g12 boards: Remove size 0 cma areas 46/252046/1
Seung-Woo Kim [Fri, 22 Jan 2021 05:52:15 +0000 (14:52 +0900)]
arm64: dts: amlogic: g12 boards: Remove size 0 cma areas

The cma area with size 0 has no meaning and it adds unnecessary
reserve information. Remove size 0 cma areas.

Change-Id: I02f6091d7628e19aec3be928612e778c57648c9e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoof: Fix wrong kmemleak ignore in reserved_mem 48/251948/2
Seung-Woo Kim [Thu, 21 Jan 2021 06:22:52 +0000 (15:22 +0900)]
of: Fix wrong kmemleak ignore in reserved_mem

If size is 0, then kmemleak object found for ignore object is not
properly working and ignore should work for create kmemleak object.
Fix the wrong kmemleak ignore usages in of_reserved_mem.

This removes below kmemleak warnings:
   kmemleak: Not scanning unknown object at 0xffffffc0f4807000
   kmemleak: Not scanning unknown object at 0xffffffc0f4800000
   kmemleak: Not scanning unknown object at 0xffffffc007400000
   ...
   [<ffffff900af159b0>] kmemleak_no_scan+0xd8/0xe8
   [<ffffff900ba72d1c>] kmemleak_init+0x260/0x504
   ..
   kmemleak: Early log backtrace:
      log_early+0x1d8/0x268
      kmemleak_no_scan+0xbc/0xe8
      fdt_init_reserved_mem+0x8b4/0x928
      early_init_fdt_scan_reserved_mem+0x100/0x13c
      arm64_memblock_init+0x310/0x388
   ...

Change-Id: Idac1f672b06373f6eb7485d63b60747f2cf9f5b5
Fixes: commit 47a87b6930cd ("kmemleak: shouldn't scan reserved memory")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic/media: lcd: Fix division by zero 64/251864/1
Seung-Woo Kim [Wed, 20 Jan 2021 05:25:45 +0000 (14:25 +0900)]
amlogic/media: lcd: Fix division by zero

If no lcd is set by bootargs, it can not choose lcd type from
device tree and it causes division by zero. Fix the it by checking
division value.

This fixes below ubsan warnings:
   UBSAN: Undefined behaviour in drivers/amlogic/media/vout/lcd/lcd_common.c:777:59
   UBSAN: Undefined behaviour in drivers/amlogic/media/vout/lcd/lcd_common.c:778:43
   UBSAN: Undefined behaviour in drivers/amlogic/media/vout/lcd/lcd_common.c:784:53
   UBSAN: Undefined behaviour in drivers/amlogic/media/vout/lcd/lcd_common.c:786:59
   UBSAN: Undefined behaviour in drivers/amlogic/media/vout/lcd/lcd_common.c:787:43
   division by zero
   ...
   [ffffff9200003610+  96][<ffffff9009b70fac>] __ubsan_handle_divrem_overflow+0x8c/0xc8
   [ffffff9200003670+ 144][<ffffff900a582eac>] lcd_timing_init_config+0x254/0x390
   [ffffff9200003700+ 544][<ffffff900a5aeb50>] lcd_tablet_probe+0xfa0/0x3f50
   [ffffff9200003920+  64][<ffffff900a57a51c>] lcd_mode_probe+0x54/0x6c0
   [ffffff9200003960+ 272][<ffffff900a57bf5c>] lcd_probe+0x984/0x1070
   ...

Change-Id: I6ad73fcd554715c1d7ac3cadf82ead251b596e1c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agochar: aml-gpiomem: Use allocated pointer for class registration 56/251856/1
Seung-Woo Kim [Wed, 20 Jan 2021 02:00:11 +0000 (11:00 +0900)]
char: aml-gpiomem: Use allocated pointer for class registration

The class name for class_create() requires memory pointer not freed
until the class is destroy, but local array is used, so it causes
memory bad access. Use allocated pointer for class registration.

This fixes below kasan warning:
   BUG: KASAN: out-of-bounds in strlcpy+0x48/0x88
   Read of size 11 at addr ffffffc00029f9c0 by task udevadm/2912
   ...
   [<ffffff900941ca9c>] check_memory_region+0x12c/0x1a0
   [<ffffff900941d0d4>] memcpy+0x34/0x68
   [<ffffff9009af8968>] strlcpy+0x48/0x88
   [<ffffff9009aeb74c>] kobject_uevent_env+0x55c/0x948
   [<ffffff9009aebb48>] kobject_uevent+0x10/0x18
   [<ffffff9009de5ca0>] uevent_store+0xf0/0xf8
   ...

Change-Id: I0e265a8b1b52e732de262a0058bd821419ca4fe8
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agousb: gadget: f_fs: Fix use-after-free for unbind with remaining io 56/251756/1
Seung-Woo Kim [Tue, 19 Jan 2021 05:47:25 +0000 (14:47 +0900)]
usb: gadget: f_fs: Fix use-after-free for unbind with remaining io

If usb has stall, then there can be remaining submitted io and
unbinding f_fs with the remaining io, there is use-after-free.
Fix the use-after-free by checking endpoint after wait.

This fixes following kasan warning:
   BUG: KASAN: use-after-free in ffs_epfile_io+0x654/0xb58
   Read of size 4 at addr ffffffc0a44e65dc by task mtp-responder/5117
   ...
   [<ffffff900a037794>] ffs_epfile_io+0x654/0xb58
   [<ffffff900a03818c>] ffs_epfile_read_iter+0x1ac/0x3e0
   ...

   Allocated by task 3869:
   ...
    __kmalloc+0x234/0x760
    _ffs_func_bind+0x264/0x7c8
    ffs_func_bind+0xe8/0x650
    usb_add_function+0x13c/0x378
   ...
   Freed by task 3869:
   ...
    kfree+0xa4/0x750
    ffs_func_unbind+0x150/0x248
    purge_configs_funcs+0x1a0/0x310
   ...

Change-Id: I2bb9b07d93b1ac42432caaa2c2176d987b36b140
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic: drm/meson: Fix to use address type for 64bit 58/251658/1
Seung-Woo Kim [Mon, 18 Jan 2021 07:16:24 +0000 (16:16 +0900)]
amlogic: drm/meson: Fix to use address type for 64bit

In arm64, physical address type is accessed as 64bit, but
there is 32bit variable for it, so there is out-of-bounds
access. Fix to use address type for 64bit.

This fixes following kasan wanring:
   BUG: KASAN: stack-out-of-bounds in ion_phys+0xb4/0x180
   Write of size 8 at addr ffffffc0a152f700 by task enlightenment/4189
   ...
   [<ffffff900a3ddaec>] ion_phys+0xb4/0x180
   [<ffffff900a76cc4c>] am_meson_gem_object_get_phyaddr+0x114/0x148
   [<ffffff900a774808>] meson_plane_atomic_check+0x570/0xea8
   ...

Change-Id: I185601b2dd8f0bb9c700f87c2baaa9f6ebb183d8
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic: drm/meson: Fix plane state out-of-bounds access 60/251560/1
Seung-Woo Kim [Fri, 15 Jan 2021 04:41:36 +0000 (13:41 +0900)]
amlogic: drm/meson: Fix plane state out-of-bounds access

For drm_plane_funcs callbacks, it was fixed to use meson specific
functions except reset callback. Not like other meson specific
callbacks, reset callback allocates drm_plane_state, so accessing
meson_plane_state from drm_plane state in other callbacks causes
out-of-bounds access. Fix plane state out-of-bounds access by using
meson specific reset callback using meson_plane_state based on
drm_atomic_helper_plane_reset().

This removes below kasan warning:
   BUG: KASAN: slab-out-of-bounds in kmemdup+0x4c/0xb0
   Read of size 128 at addr ffffffc005a710c0 by task enlightenment/4376
   ...
   [<ffffff90093959ec>] kmemdup+0x4c/0xb0
   [<ffffff900a7714e8>] meson_plane_duplicate_state+0x40/0x90
   [<ffffff9009d406d4>] drm_atomic_get_plane_state+0xc4/0x230
   [<ffffff9009cf6284>] __drm_atomic_helper_set_config+0xdc/0x788
   [<ffffff9009cf6a0c>] drm_atomic_helper_set_config+0xdc/0x178
   [<ffffff900a775df8>] meson_crtc_set_mode+0x40/0x68
   [<ffffff9009d22d54>] drm_mode_set_config_internal+0xf4/0x348
   [<ffffff9009d249ec>] drm_mode_setcrtc+0x1d4/0x910
   ...

   Allocated by task 1:
   ...
    kmem_cache_alloc_trace+0x20c/0x6c8
    drm_atomic_helper_plane_reset+0x6c/0xc8
    drm_mode_config_reset+0x7c/0x310
    am_meson_drm_bind+0x1fc/0x2f8
    try_to_bring_up_master.part.1+0x70/0x128
    component_master_add_with_match+0x1b8/0x230
    am_meson_drv_probe+0x3c8/0x410
   ...

Change-Id: Ie7bfd41d797a0782cffa45801629981c25b01561
Fixes commit 1f1efcfdd85d ("drm: add multi-layer support [1/1]")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoStaging: android: ion: fix to set cached element of pool always 75/251375/1
Seung-Woo Kim [Wed, 13 Jan 2021 07:52:58 +0000 (16:52 +0900)]
Staging: android: ion: fix to set cached element of pool always

The allocated memory with kmalloc() can have invalid value. To
avoid using the invalid value, always set cached element.

This removes below UBSAN warning:
   UBSAN: Undefined behaviour in drivers/staging/android/ion/ion_page_pool.c:33:11
   load of value 152 is not a valid value for type '_Bool'
   ...
   [<ffffff9009b89e48>] __ubsan_handle_load_invalid_value+0x80/0x90
   [<ffffff900a2c4044>] ion_page_pool_alloc+0x154/0x180
   [<ffffff900a2c5b60>] ion_system_heap_allocate+0x2b8/0xa68
   [<ffffff900a2c0688>] ion_alloc+0x238/0x9c8
   ...

Change-Id: I86e0ee70404bb074dad3b73dccec31ebcf2c7c72
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoclk: amlogic: g12a: fix divide by zero for default pll register 68/251368/1
Seung-Woo Kim [Wed, 13 Jan 2021 05:50:51 +0000 (14:50 +0900)]
clk: amlogic: g12a: fix divide by zero for default pll register

On reset register value 0x20000000 for some plls of g12, there are
divide by zero operations warned by UBSAN. For the case, calculate
pll rate as zero.

This removes below UBSAN warnings:
   UBSAN: Undefined behaviour in drivers/amlogic/clk/g12a/g12a_clk-pll.c:155:74
   ...
   UBSAN: Undefined behaviour in drivers/amlogic/clk/g12a/g12a_clk-pll.c:140:74
   ...
   UBSAN: Undefined behaviour in drivers/amlogic/clk/g12a/g12a_clk-pll.c:145:25
   division by zero
   ...
   [<ffffff9009b8de04>] __ubsan_handle_divrem_overflow+0x8c/0xc8
   [<ffffff900a37f140>] meson_g12a_pll_recalc_rate+0x8d0/0x930
   [<ffffff9009c4909c>] clk_register+0x724/0xe10
   [<ffffff900bab2fec>] g12a_clkc_init+0x640/0x7fc
   ...

Change-Id: I4f0c771502e2ae0291a9eaffbea7a03e617009af
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agonet: rtl88xx: fix to check null adapter 05/251305/1
Seung-Woo Kim [Tue, 12 Jan 2021 09:19:36 +0000 (18:19 +0900)]
net: rtl88xx: fix to check null adapter

UBSAN warns about null pointer accessin rtl88xx. Fix to check
null pointer for adapter to remove below warning:

   UBSAN: Undefined behaviour in drivers/net/wireless/rtl8812au/os_dep/osdep_service.c:1187:2
   member access within null pointer of type 'struct _adapter'
   [...]
   [<ffffff9009b8d8b0>] __ubsan_handle_type_mismatch+0x28/0x30
   [<ffffff900330d2e4>] rtw_init_timer+0xbc/0xf0 [88XXau]
   [<ffffff90033150c8>] devobj_init+0x90/0x100 [88XXau]
   [<ffffff900331932c>] rtw_usb_primary_adapter_init+0x64c/0x1558 [88XXau]
   [<ffffff9009f77a1c>] usb_probe_interface+0x16c/0x4c8
   [...]

Change-Id: I258df3b790d7b1be49a89706dca46a895c4461b8
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agomm: fix wrong kasan report [1/1] 04/251304/1
Tao Zeng [Wed, 28 Aug 2019 07:25:40 +0000 (15:25 +0800)]
mm: fix wrong kasan report [1/1]

PD#SWPL-13281

Problem:
There are 2 types of wrong kasan report after merge change of
save wasted slab.
1, slab-out-of-bounds, which is caused by krealloc set shadow
   memory out-of-range, since tail of page was freed.
2, use-after-free, which is caused by kasan_free_pages called
   after a page freed. Because this function already called in
   free_page, so it marked shadow memory twice.

Solution:
1, make shadow do not out of range if a tail page was freed and
   been realloc again.
2, remove call of kasan_free_pages.

Verify:
X301

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
[sw0312.kim: fully apply amlogic vendor commit becb83999e19 missed from merge]
Ref: https://github.com/hardkernel/linux/commit/becb83999e19d2055458f08a2b7a44bd1170853e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I71daa41038e156a9bacf26e27fc51792d558f819

3 years agoNPU: Update DDK Version to 6.4.3CB 77/251277/2 accepted/tizen/unified/20210113.121038 submit/tizen/20210112.094137
Hoegeun Kwon [Mon, 11 Jan 2021 08:16:13 +0000 (17:16 +0900)]
NPU: Update DDK Version to 6.4.3CB

This DDK v6.4.3 from vendor kernel tree for support npu.

  commit: f5d5919889be (tag: khadas-vims-v0.9.7-release) Update DDK Version to 6.4.3CB
  url: https://github.com/khadas/linux/commit/f5d5919889becec2c0988bc6a6aa839012982e8a

Change-Id: I4ec74460ccb90a87158abe47c1b08cdeeed5dcdf
Signed-off-by: yan <yan-wyb@foxmail.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agopackaging: Remove define debug_package 89/251189/1 accepted/tizen/unified/20210111.125424 submit/tizen/20210111.064900
Hoegeun Kwon [Mon, 11 Jan 2021 06:15:55 +0000 (15:15 +0900)]
packaging: Remove define debug_package

Delete the debug package nil. A problem occurs when the cmake version
is upgraded.

Change-Id: I65190223d728492ad83f0cebfa7cb6b926d9c5bf
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
3 years agoamlogic: reboot: add fota as reboot paremeter 52/251052/1 accepted/tizen/unified/20210108.125918 submit/tizen/20210107.224559
Jaehoon Chung [Thu, 7 Jan 2021 07:39:11 +0000 (16:39 +0900)]
amlogic: reboot: add fota as reboot paremeter

Add fota as reboot parameter.
To use it, defined MESON_FOTA_REBOOT as 3.

Change-Id: I06e725cf47e6d0de0add7336266679203dcf6a41
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoscript: fix wrong exit location 45/251045/1
Jaehoon Chung [Thu, 7 Jan 2021 06:30:45 +0000 (15:30 +0900)]
script: fix wrong exit location

Fix wrong exit location.
When using same config with previous config, it doesn't build and
immediately exit.

Change-Id: Idbc58c24fc7bd20863aee2e6d75d2e296a1d26cd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agonet: wireless: bcmdhd: remove unnecessary message 45/250445/1
Jaehoon Chung [Mon, 28 Dec 2020 00:10:00 +0000 (09:10 +0900)]
net: wireless: bcmdhd: remove unnecessary message

Remove unnecessary message when run "make clean".
- bcm SDIO driver configured

Change-Id: Ie0a48857c709a00f2aa73b425ad8f434fddf959e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoarm64: configs: tizen_*: Disable RAID6_PQ_BENCHMARK 21/250221/1
Seung-Woo Kim [Tue, 22 Dec 2020 07:27:46 +0000 (16:27 +0900)]
arm64: configs: tizen_*: Disable RAID6_PQ_BENCHMARK

Skip the algorithm benchmarking process of RAID6. This is helpful for
systems where fast kernel startup is important. Also, The option is not
crucial for the amlogic boards.

Change-Id: Ib83637d619ed779058403f24fc87ab0880f7d623
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agolib/raid6: add option to skip algo benchmarking 20/250220/1
Daniel Verkamp [Mon, 12 Nov 2018 23:26:52 +0000 (15:26 -0800)]
lib/raid6: add option to skip algo benchmarking

This is helpful for systems where fast startup time is important.
It is especially nice to avoid benchmarking RAID functions that are
never used (for example, BTRFS selects RAID6_PQ even if the parity RAID
mode is not in use).

This saves 250+ milliseconds of boot time on modern x86 and ARM systems
with a dozen or more available implementations.

The new option is defaulted to 'y' to match the previous behavior of
always benchmarking on init.

Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Signed-off-by: Shaohua Li <shli@fb.com>
[sw0312.kim: cherry-pick mainline commit be85f93ae2df to skip unnecessary raid6 benchmark during booting]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I70256f5cbfb61c0033a16d2eb57e10e0dd1e6768

3 years agoarm64: dts: amlogic: odroid: Update gpiomem node as khadas's style 18/250218/2
Seung-Woo Kim [Tue, 22 Dec 2020 07:15:35 +0000 (16:15 +0900)]
arm64: dts: amlogic: odroid: Update gpiomem node as khadas's style

For multi-instance of gpiomem, khadas gpiomem uses seperated
gpiomem nodes with its own dev node name. Because gpiomem driver
is applied as khadas' style, so update from odroid dt files.

Change-Id: I98b802d30045b2936ab98d6e23b81e6aff8068d6
Fixes: commit c167bac048f5 ("char: aml-gpiomem: Update to Khadas' multi-instance version")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agotreewide: Remove unnecessary executable attributes from source files 68/249968/1 accepted/tizen/unified/20201222.122553 submit/tizen/20201221.095525
Seung-Woo Kim [Fri, 18 Dec 2020 04:38:26 +0000 (13:38 +0900)]
treewide: Remove unnecessary executable attributes from source files

No need executable attributes for source files. Remove executable
attributes from source files.

Change-Id: Ide52ab63e927804ab10ed4e840959c8e7fef9242
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agotreewide: Remove remaining executable attributes from source files 67/249967/1
Joe Perches [Fri, 24 Feb 2017 06:29:40 +0000 (22:29 -0800)]
treewide: Remove remaining executable attributes from source files

These are the current source files that should not have
executable attributes set.

[ Normally this would be sent through Andrew Morton's tree
  but his quilt tools don't like permission only patches. ]

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[sw0312.kim: backport mainline commit 6e5c8381d1db to remove unnecessary executable]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I921790c9b9e8be67f14d31f76f2002215771d889

3 years agotreewide: Make remaining source files non-executable 66/249966/1
Joe Perches [Mon, 12 Dec 2016 22:26:55 +0000 (14:26 -0800)]
treewide: Make remaining source files non-executable

.c and .h source files should not be executable, change
the permissions to 0644.

[ This would normally go through Andrew Morton, but his ancient
  patch-based toolchain doesn't do permission changes ]

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[sw0312.kim: cherry-pick mainline commit fe6bce8d30a8 to remove unnecessary executable]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I1f9a2d12877632a1bace7f66200fe9d9b80e9bd7

3 years agoscript: add a build script for amlogic boards 63/249963/2
Seung-Woo Kim [Fri, 18 Dec 2020 03:53:41 +0000 (12:53 +0900)]
script: add a build script for amlogic boards

Add a build script for amlogic boards.

For Odroid-C4/N2, it will create the below files.
- odroid/Image.gz
- meson64-odroidc4.dtb
- meson64-odroidn2_drm.dtb
- modules.img (with ${version}-TIZEN-amlogic-odroid+)

For Khadas VIM3/VIM3L, it will create the below files.
- kvim/Image.gz
- kvim3_linux.dtb
- kvim3l_linux.dtb
- modules.img (with ${version}-TIZEN-amlogic-kvim+)

For 'all' boards build, it will create the below files.
- odroid/Image.gz
- kvim/Image.gz
- meson64-odroidc4.dtb
- meson64-odroidn2_drm.dtb
- kvim3_linux.dtb
- kvim3l_linux.dtb
- modules.img (with ${version}-TIZEN-amlogic-odroid+ and ${version}-TIZEN-amlogic-kvim+)

Change-Id: I7bd9ae47576ab53d206b7c268f035b244a22f8e2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
[sw0312.kim: add to support 'all' board option]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoamlogic: reboot: add MESON_DOWNOLAD_REBOOT to enter thor mode 22/249922/1
Jaehoon Chung [Thu, 17 Dec 2020 07:57:06 +0000 (16:57 +0900)]
amlogic: reboot: add MESON_DOWNOLAD_REBOOT to enter thor mode

Add MESON_DOWNLOAD_REBOOT to enter thor mode.
Reuse the MESON_FASTBOOT_REBOOT value.

Change-Id: Ie3272062b103f131b8088191e4b534d4eff48819
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoASoc: meson: remove duplicated const 29/249829/1
Seung-Woo Kim [Thu, 17 Dec 2020 03:37:18 +0000 (12:37 +0900)]
ASoc: meson: remove duplicated const

The macro SOC_*_DECL() already has const, so "const SOC_*_DECL()"
makes duplicated const. Remove the duplicated const.

Change-Id: I259251ff91c27344f723bf7da5003ffcff99d802
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoarm64: alternatives: use tpidr_el2 on VHE hosts 69/249769/1
Stephen Warren [Wed, 8 Jan 2020 18:54:14 +0000 (11:54 -0700)]
arm64: alternatives: use tpidr_el2 on VHE hosts

When upstream 6d99b68933fb was back-ported to upstream v4.9.x stable as
eea59020a7f2, the edits to arch/arm64/mm/proc.S were dropped because
proc.S didn't save/restore tpidr_el1 at all. Separately, in android-4.9,
0ec37136b90e ("UPSTREAM: arm64: move sp_el0 and tpidr_el1 into
cpu_suspend_ctx") modified proc.S to save/restore tpidir_el1. These two
paths were later merged together in android-4.9. The missing edits to
proc.S should have been added in during the merge, but were not. This
change restores those edits. The original upstream change description
of 6d99b68933fb follows; this is where the missing code appeared
originally.

Commit 6d99b68933fbcf51f84fcbba49246ce1209ec193 upstream.

Now that KVM uses tpidr_el2 in the same way as Linux's cpu_offset in
tpidr_el1, merge the two. This saves KVM from save/restoring tpidr_el1
on VHE hosts, and allows future code to blindly access per-cpu variables
without triggering world-switch.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Fixes: eea59020a7f2 ("arm64: alternatives: use tpidr_el2 on VHE hosts")
Fixes: 0ec37136b90e ("UPSTREAM: arm64: move sp_el0 and tpidr_el1 into cpu_suspend_ctx")
Fixes: 4a5211fa1474 ("Merge 4.9.114 into android-4.9-p")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
[sw0312.kim: cherry-pick android-4.9-q commit c337caddb549 to fix booting issue
- also fully applying linux-4.9.y commit eea59020a7f2 ("arm64: alternatives: use tpidr_el2 on VHE hosts") skipped from khadas' revert]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Iad39e6f1fb662b95967e8ebd07a36844bf46cd2d

3 years agommc: card: replace to CONFIG_TIZEN instead of 0 62/249762/1
Jaehoon Chung [Wed, 16 Dec 2020 05:43:04 +0000 (14:43 +0900)]
mmc: card: replace to CONFIG_TIZEN instead of 0

Replace to CONFIG_TIZEN instead of 0.

Change-Id: If131c42b517e01ef5171218aa29beaf3254400c7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoARM64: configs: enable CONFIG_TIZEN about kvims/odroidg12 97/249497/1
Jaehoon Chung [Mon, 14 Dec 2020 06:00:27 +0000 (15:00 +0900)]
ARM64: configs: enable CONFIG_TIZEN about kvims/odroidg12

Enable CONFIG_TIZEN about kvim3/odroidg12.

Change-Id: I9527dc3310d0656863d4f80dffb36af3d47a8149
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoplatform: Kconfig: Add TIZEN configuration 95/249495/1
Jaehoon Chung [Mon, 14 Dec 2020 04:55:59 +0000 (13:55 +0900)]
platform: Kconfig: Add TIZEN configuration

Add TIZEN configuration.
If Tizen specific code is used somewhere, use this config.
It's useful to find where tizen specific codes are.

Change-Id: I068c4e8e943b35d89265384dd7ecf61c75ec3ae9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoarm64: configs: tizen_odroidg12: disable unnecessary btrfs options 61/249361/1 accepted/tizen/unified/20201211.124320 submit/tizen/20201211.030542
Seung-Woo Kim [Thu, 10 Dec 2020 11:20:41 +0000 (20:20 +0900)]
arm64: configs: tizen_odroidg12: disable unnecessary btrfs options

The commit ac70f5b01e79 ("arm64: configs: tizen_*: adjust
filesystem module config options") did not disable unnecessary
btrfs self test options. Disable the btrfs options.

Note: this should be squashed into the commit.

Change-Id: I50298f4dc902a55a140b04db7dc29367c40138e5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>