You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge tag 'char-misc-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver updates from Greg KH:
"Here is the big char/misc driver update for 4.14-rc1.
Lots of different stuff in here, it's been an active development cycle
for some reason. Highlights are:
- updated binder driver, this brings binder up to date with what
shipped in the Android O release, plus some more changes that
happened since then that are in the Android development trees.
- coresight updates and fixes
- mux driver file renames to be a bit "nicer"
- intel_th driver updates
- normal set of hyper-v updates and changes
- small fpga subsystem and driver updates
- lots of const code changes all over the driver trees
- extcon driver updates
- fmc driver subsystem upadates
- w1 subsystem minor reworks and new features and drivers added
- spmi driver updates
Plus a smattering of other minor driver updates and fixes.
All of these have been in linux-next with no reported issues for a
while"
* tag 'char-misc-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (244 commits)
ANDROID: binder: don't queue async transactions to thread.
ANDROID: binder: don't enqueue death notifications to thread todo.
ANDROID: binder: Don't BUG_ON(!spin_is_locked()).
ANDROID: binder: Add BINDER_GET_NODE_DEBUG_INFO ioctl
ANDROID: binder: push new transactions to waiting threads.
ANDROID: binder: remove proc waitqueue
android: binder: Add page usage in binder stats
android: binder: fixup crash introduced by moving buffer hdr
drivers: w1: add hwmon temp support for w1_therm
drivers: w1: refactor w1_slave_show to make the temp reading functionality separate
drivers: w1: add hwmon support structures
eeprom: idt_89hpesx: Support both ACPI and OF probing
mcb: Fix an error handling path in 'chameleon_parse_cells()'
MCB: add support for SC31 to mcb-lpc
mux: make device_type const
char: virtio: constify attribute_group structures.
Documentation/ABI: document the nvmem sysfs files
lkdtm: fix spelling mistake: "incremeted" -> "incremented"
perf: cs-etm: Fix ETMv4 CONFIGR entry in perf.data file
nvmem: include linux/err.h from header
...
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
What: /sys/bus/nvmem/devices/.../nvmem
|
||||||
|
Date: July 2015
|
||||||
|
KernelVersion: 4.2
|
||||||
|
Contact: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
||||||
|
Description:
|
||||||
|
This file allows user to read/write the raw NVMEM contents.
|
||||||
|
Permissions for write to this file depends on the nvmem
|
||||||
|
provider configuration.
|
||||||
|
|
||||||
|
ex:
|
||||||
|
hexdump /sys/bus/nvmem/devices/qfprom0/nvmem
|
||||||
|
|
||||||
|
0000000 0000 0000 0000 0000 0000 0000 0000 0000
|
||||||
|
*
|
||||||
|
00000a0 db10 2240 0000 e000 0c00 0c00 0000 0c00
|
||||||
|
0000000 0000 0000 0000 0000 0000 0000 0000 0000
|
||||||
|
...
|
||||||
|
*
|
||||||
|
0001000
|
||||||
@@ -45,6 +45,8 @@ Contact: thunderbolt-software@lists.01.org
|
|||||||
Description: When a devices supports Thunderbolt secure connect it will
|
Description: When a devices supports Thunderbolt secure connect it will
|
||||||
have this attribute. Writing 32 byte hex string changes
|
have this attribute. Writing 32 byte hex string changes
|
||||||
authorization to use the secure connection method instead.
|
authorization to use the secure connection method instead.
|
||||||
|
Writing an empty string clears the key and regular connection
|
||||||
|
method can be used again.
|
||||||
|
|
||||||
What: /sys/bus/thunderbolt/devices/.../device
|
What: /sys/bus/thunderbolt/devices/.../device
|
||||||
Date: Sep 2017
|
Date: Sep 2017
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
What: /sys/bus/pci/drivers/altera-cvp/chkcfg
|
||||||
|
Date: May 2017
|
||||||
|
Kernel Version: 4.13
|
||||||
|
Contact: Anatolij Gustschin <agust@denx.de>
|
||||||
|
Description:
|
||||||
|
Contains either 1 or 0 and controls if configuration
|
||||||
|
error checking in altera-cvp driver is turned on or
|
||||||
|
off.
|
||||||
@@ -3081,3 +3081,8 @@
|
|||||||
1 = /dev/osd1 Second OSD Device
|
1 = /dev/osd1 Second OSD Device
|
||||||
...
|
...
|
||||||
255 = /dev/osd255 256th OSD Device
|
255 = /dev/osd255 256th OSD Device
|
||||||
|
|
||||||
|
384-511 char RESERVED FOR DYNAMIC ASSIGNMENT
|
||||||
|
Character devices that request a dynamic allocation of major
|
||||||
|
number will take numbers starting from 511 and downward,
|
||||||
|
once the 234-254 range is full.
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ its hardware characteristcs.
|
|||||||
- Embedded Trace Macrocell (version 4.x):
|
- Embedded Trace Macrocell (version 4.x):
|
||||||
"arm,coresight-etm4x", "arm,primecell";
|
"arm,coresight-etm4x", "arm,primecell";
|
||||||
|
|
||||||
- Qualcomm Configurable Replicator (version 1.x):
|
- Coresight programmable Replicator :
|
||||||
"qcom,coresight-replicator1x", "arm,primecell";
|
"arm,coresight-dynamic-replicator", "arm,primecell";
|
||||||
|
|
||||||
- System Trace Macrocell:
|
- System Trace Macrocell:
|
||||||
"arm,coresight-stm", "arm,primecell"; [1]
|
"arm,coresight-stm", "arm,primecell"; [1]
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
ChromeOS EC USB Type-C cable and accessories detection
|
||||||
|
|
||||||
|
On ChromeOS systems with USB Type C ports, the ChromeOS Embedded Controller is
|
||||||
|
able to detect the state of external accessories such as display adapters
|
||||||
|
or USB devices when said accessories are attached or detached.
|
||||||
|
|
||||||
|
The node for this device must be under a cros-ec node like google,cros-ec-spi
|
||||||
|
or google,cros-ec-i2c.
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible: Should be "google,extcon-usbc-cros-ec".
|
||||||
|
- google,usb-port-id: Specifies the USB port ID to use.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
cros-ec@0 {
|
||||||
|
compatible = "google,cros-ec-i2c";
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
extcon {
|
||||||
|
compatible = "google,extcon-usbc-cros-ec";
|
||||||
|
google,usb-port-id = <0>;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
Altera Passive Serial SPI FPGA Manager
|
||||||
|
|
||||||
|
Altera FPGAs support a method of loading the bitstream over what is
|
||||||
|
referred to as "passive serial".
|
||||||
|
The passive serial link is not technically SPI, and might require extra
|
||||||
|
circuits in order to play nicely with other SPI slaves on the same bus.
|
||||||
|
|
||||||
|
See https://www.altera.com/literature/hb/cyc/cyc_c51013.pdf
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible: Must be one of the following:
|
||||||
|
"altr,fpga-passive-serial",
|
||||||
|
"altr,fpga-arria10-passive-serial"
|
||||||
|
- reg: SPI chip select of the FPGA
|
||||||
|
- nconfig-gpios: config pin (referred to as nCONFIG in the manual)
|
||||||
|
- nstat-gpios: status pin (referred to as nSTATUS in the manual)
|
||||||
|
|
||||||
|
Optional properties:
|
||||||
|
- confd-gpios: confd pin (referred to as CONF_DONE in the manual)
|
||||||
|
|
||||||
|
Example:
|
||||||
|
fpga: fpga@0 {
|
||||||
|
compatible = "altr,fpga-passive-serial";
|
||||||
|
spi-max-frequency = <20000000>;
|
||||||
|
reg = <0>;
|
||||||
|
nconfig-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
|
||||||
|
nstat-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
|
||||||
|
confd-gpios = <&gpio4 12 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
Xilinx LogiCORE Partial Reconfig Decoupler Softcore
|
||||||
|
|
||||||
|
The Xilinx LogiCORE Partial Reconfig Decoupler manages one or more
|
||||||
|
decouplers / fpga bridges.
|
||||||
|
The controller can decouple/disable the bridges which prevents signal
|
||||||
|
changes from passing through the bridge. The controller can also
|
||||||
|
couple / enable the bridges which allows traffic to pass through the
|
||||||
|
bridge normally.
|
||||||
|
|
||||||
|
The Driver supports only MMIO handling. A PR region can have multiple
|
||||||
|
PR Decouplers which can be handled independently or chained via decouple/
|
||||||
|
decouple_status signals.
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible : Should contain "xlnx,pr-decoupler-1.00" followed by
|
||||||
|
"xlnx,pr-decoupler"
|
||||||
|
- regs : base address and size for decoupler module
|
||||||
|
- clocks : input clock to IP
|
||||||
|
- clock-names : should contain "aclk"
|
||||||
|
|
||||||
|
Optional properties:
|
||||||
|
- bridge-enable : 0 if driver should disable bridge at startup
|
||||||
|
1 if driver should enable bridge at startup
|
||||||
|
Default is to leave bridge in current state.
|
||||||
|
|
||||||
|
See Documentation/devicetree/bindings/fpga/fpga-region.txt for generic bindings.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
fpga-bridge@100000450 {
|
||||||
|
compatible = "xlnx,pr-decoupler-1.00",
|
||||||
|
"xlnx-pr-decoupler";
|
||||||
|
regs = <0x10000045 0x10>;
|
||||||
|
clocks = <&clkc 15>;
|
||||||
|
clock-names = "aclk";
|
||||||
|
bridge-enable = <0>;
|
||||||
|
};
|
||||||
@@ -175,6 +175,7 @@ kosagi Sutajio Ko-Usagi PTE Ltd.
|
|||||||
kyo Kyocera Corporation
|
kyo Kyocera Corporation
|
||||||
lacie LaCie
|
lacie LaCie
|
||||||
lantiq Lantiq Semiconductor
|
lantiq Lantiq Semiconductor
|
||||||
|
lattice Lattice Semiconductor
|
||||||
lego LEGO Systems A/S
|
lego LEGO Systems A/S
|
||||||
lenovo Lenovo Group Ltd.
|
lenovo Lenovo Group Ltd.
|
||||||
lg LG Corporation
|
lg LG Corporation
|
||||||
|
|||||||
@@ -281,6 +281,8 @@
|
|||||||
capabilities of the underlying ICAP hardware
|
capabilities of the underlying ICAP hardware
|
||||||
differ between different families. May be
|
differ between different families. May be
|
||||||
'virtex2p', 'virtex4', or 'virtex5'.
|
'virtex2p', 'virtex4', or 'virtex5'.
|
||||||
|
- compatible : should contain "xlnx,xps-hwicap-1.00.a" or
|
||||||
|
"xlnx,opb-hwicap-1.00.b".
|
||||||
|
|
||||||
vi) Xilinx Uart 16550
|
vi) Xilinx Uart 16550
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ by writing the name of the desired stm device there, for example:
|
|||||||
$ echo dummy_stm.0 > /sys/class/stm_source/console/stm_source_link
|
$ echo dummy_stm.0 > /sys/class/stm_source/console/stm_source_link
|
||||||
|
|
||||||
For examples on how to use stm_source interface in the kernel, refer
|
For examples on how to use stm_source interface in the kernel, refer
|
||||||
to stm_console or stm_heartbeat drivers.
|
to stm_console, stm_heartbeat or stm_ftrace drivers.
|
||||||
|
|
||||||
Each stm_source device will need to assume a master and a range of
|
Each stm_source device will need to assume a master and a range of
|
||||||
channels, depending on how many channels it requires. These are
|
channels, depending on how many channels it requires. These are
|
||||||
@@ -107,5 +107,16 @@ console in the STP stream, create a "console" policy entry (see the
|
|||||||
beginning of this text on how to do that). When initialized, it will
|
beginning of this text on how to do that). When initialized, it will
|
||||||
consume one channel.
|
consume one channel.
|
||||||
|
|
||||||
|
stm_ftrace
|
||||||
|
==========
|
||||||
|
|
||||||
|
This is another "stm_source" device, once the stm_ftrace has been
|
||||||
|
linked with an stm device, and if "function" tracer is enabled,
|
||||||
|
function address and parent function address which Ftrace subsystem
|
||||||
|
would store into ring buffer will be exported via the stm device at
|
||||||
|
the same time.
|
||||||
|
|
||||||
|
Currently only Ftrace "function" tracer is supported.
|
||||||
|
|
||||||
[1] https://software.intel.com/sites/default/files/managed/d3/3c/intel-th-developer-manual.pdf
|
[1] https://software.intel.com/sites/default/files/managed/d3/3c/intel-th-developer-manual.pdf
|
||||||
[2] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0444b/index.html
|
[2] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0444b/index.html
|
||||||
|
|||||||
+3
-1
@@ -5362,10 +5362,11 @@ K: fmc_d.*register
|
|||||||
|
|
||||||
FPGA MANAGER FRAMEWORK
|
FPGA MANAGER FRAMEWORK
|
||||||
M: Alan Tull <atull@kernel.org>
|
M: Alan Tull <atull@kernel.org>
|
||||||
R: Moritz Fischer <moritz.fischer@ettus.com>
|
R: Moritz Fischer <mdf@kernel.org>
|
||||||
L: linux-fpga@vger.kernel.org
|
L: linux-fpga@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/atull/linux-fpga.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/atull/linux-fpga.git
|
||||||
|
Q: http://patchwork.kernel.org/project/linux-fpga/list/
|
||||||
F: Documentation/fpga/
|
F: Documentation/fpga/
|
||||||
F: Documentation/devicetree/bindings/fpga/
|
F: Documentation/devicetree/bindings/fpga/
|
||||||
F: drivers/fpga/
|
F: drivers/fpga/
|
||||||
@@ -9484,6 +9485,7 @@ M: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/nvmem/
|
F: drivers/nvmem/
|
||||||
F: Documentation/devicetree/bindings/nvmem/
|
F: Documentation/devicetree/bindings/nvmem/
|
||||||
|
F: Documentation/ABI/stable/sysfs-bus-nvmem
|
||||||
F: include/linux/nvmem-consumer.h
|
F: include/linux/nvmem-consumer.h
|
||||||
F: include/linux/nvmem-provider.h
|
F: include/linux/nvmem-provider.h
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,15 @@
|
|||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1cs>;
|
pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1cs>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
fpga: fpga@0 {
|
||||||
|
compatible = "altr,fpga-passive-serial";
|
||||||
|
spi-max-frequency = <20000000>;
|
||||||
|
reg = <0>;
|
||||||
|
pinctrl-0 = <&pinctrl_fpgaspi>;
|
||||||
|
nconfig-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
|
||||||
|
nstat-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&ecspi3 {
|
&ecspi3 {
|
||||||
@@ -319,6 +328,13 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinctrl_fpgaspi: fpgaspigrp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x1b0b0
|
||||||
|
MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x1b0b0
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_gpminand: gpminandgrp {
|
pinctrl_gpminand: gpminandgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
|
MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ struct ms_hyperv_info {
|
|||||||
u32 features;
|
u32 features;
|
||||||
u32 misc_features;
|
u32 misc_features;
|
||||||
u32 hints;
|
u32 hints;
|
||||||
|
u32 max_vp_index;
|
||||||
|
u32 max_lp_index;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct ms_hyperv_info ms_hyperv;
|
extern struct ms_hyperv_info ms_hyperv;
|
||||||
|
|||||||
@@ -179,9 +179,15 @@ static void __init ms_hyperv_init_platform(void)
|
|||||||
ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES);
|
ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES);
|
||||||
ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO);
|
ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO);
|
||||||
|
|
||||||
pr_info("HyperV: features 0x%x, hints 0x%x\n",
|
pr_info("Hyper-V: features 0x%x, hints 0x%x\n",
|
||||||
ms_hyperv.features, ms_hyperv.hints);
|
ms_hyperv.features, ms_hyperv.hints);
|
||||||
|
|
||||||
|
ms_hyperv.max_vp_index = cpuid_eax(HVCPUID_IMPLEMENTATION_LIMITS);
|
||||||
|
ms_hyperv.max_lp_index = cpuid_ebx(HVCPUID_IMPLEMENTATION_LIMITS);
|
||||||
|
|
||||||
|
pr_debug("Hyper-V: max %u virtual processors, %u logical processors\n",
|
||||||
|
ms_hyperv.max_vp_index, ms_hyperv.max_lp_index);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extract host information.
|
* Extract host information.
|
||||||
*/
|
*/
|
||||||
@@ -214,7 +220,7 @@ static void __init ms_hyperv_init_platform(void)
|
|||||||
rdmsrl(HV_X64_MSR_APIC_FREQUENCY, hv_lapic_frequency);
|
rdmsrl(HV_X64_MSR_APIC_FREQUENCY, hv_lapic_frequency);
|
||||||
hv_lapic_frequency = div_u64(hv_lapic_frequency, HZ);
|
hv_lapic_frequency = div_u64(hv_lapic_frequency, HZ);
|
||||||
lapic_timer_frequency = hv_lapic_frequency;
|
lapic_timer_frequency = hv_lapic_frequency;
|
||||||
pr_info("HyperV: LAPIC Timer Frequency: %#x\n",
|
pr_info("Hyper-V: LAPIC Timer Frequency: %#x\n",
|
||||||
lapic_timer_frequency);
|
lapic_timer_frequency);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -248,7 +254,7 @@ static void __init ms_hyperv_init_platform(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const __refconst struct hypervisor_x86 x86_hyper_ms_hyperv = {
|
const __refconst struct hypervisor_x86 x86_hyper_ms_hyperv = {
|
||||||
.name = "Microsoft HyperV",
|
.name = "Microsoft Hyper-V",
|
||||||
.detect = ms_hyperv_platform,
|
.detect = ms_hyperv_platform,
|
||||||
.init_platform = ms_hyperv_init_platform,
|
.init_platform = ms_hyperv_init_platform,
|
||||||
};
|
};
|
||||||
|
|||||||
+13
-5
@@ -242,6 +242,7 @@ EXPORT_SYMBOL_GPL(disk_map_sector_rcu);
|
|||||||
* Can be deleted altogether. Later.
|
* Can be deleted altogether. Later.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#define BLKDEV_MAJOR_HASH_SIZE 255
|
||||||
static struct blk_major_name {
|
static struct blk_major_name {
|
||||||
struct blk_major_name *next;
|
struct blk_major_name *next;
|
||||||
int major;
|
int major;
|
||||||
@@ -259,12 +260,11 @@ void blkdev_show(struct seq_file *seqf, off_t offset)
|
|||||||
{
|
{
|
||||||
struct blk_major_name *dp;
|
struct blk_major_name *dp;
|
||||||
|
|
||||||
if (offset < BLKDEV_MAJOR_HASH_SIZE) {
|
mutex_lock(&block_class_lock);
|
||||||
mutex_lock(&block_class_lock);
|
for (dp = major_names[major_to_index(offset)]; dp; dp = dp->next)
|
||||||
for (dp = major_names[offset]; dp; dp = dp->next)
|
if (dp->major == offset)
|
||||||
seq_printf(seqf, "%3d %s\n", dp->major, dp->name);
|
seq_printf(seqf, "%3d %s\n", dp->major, dp->name);
|
||||||
mutex_unlock(&block_class_lock);
|
mutex_unlock(&block_class_lock);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_PROC_FS */
|
#endif /* CONFIG_PROC_FS */
|
||||||
|
|
||||||
@@ -309,6 +309,14 @@ int register_blkdev(unsigned int major, const char *name)
|
|||||||
ret = major;
|
ret = major;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (major >= BLKDEV_MAJOR_MAX) {
|
||||||
|
pr_err("register_blkdev: major requested (%d) is greater than the maximum (%d) for %s\n",
|
||||||
|
major, BLKDEV_MAJOR_MAX, name);
|
||||||
|
|
||||||
|
ret = -EINVAL;
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
p = kmalloc(sizeof(struct blk_major_name), GFP_KERNEL);
|
p = kmalloc(sizeof(struct blk_major_name), GFP_KERNEL);
|
||||||
if (p == NULL) {
|
if (p == NULL) {
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
|
|||||||
+12
-2
@@ -22,7 +22,7 @@ config ANDROID_BINDER_IPC
|
|||||||
config ANDROID_BINDER_DEVICES
|
config ANDROID_BINDER_DEVICES
|
||||||
string "Android Binder devices"
|
string "Android Binder devices"
|
||||||
depends on ANDROID_BINDER_IPC
|
depends on ANDROID_BINDER_IPC
|
||||||
default "binder,hwbinder"
|
default "binder,hwbinder,vndbinder"
|
||||||
---help---
|
---help---
|
||||||
Default value for the binder.devices parameter.
|
Default value for the binder.devices parameter.
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ config ANDROID_BINDER_DEVICES
|
|||||||
therefore logically separated from the other devices.
|
therefore logically separated from the other devices.
|
||||||
|
|
||||||
config ANDROID_BINDER_IPC_32BIT
|
config ANDROID_BINDER_IPC_32BIT
|
||||||
bool
|
bool "Use old (Android 4.4 and earlier) 32-bit binder API"
|
||||||
depends on !64BIT && ANDROID_BINDER_IPC
|
depends on !64BIT && ANDROID_BINDER_IPC
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
@@ -44,6 +44,16 @@ config ANDROID_BINDER_IPC_32BIT
|
|||||||
|
|
||||||
Note that enabling this will break newer Android user-space.
|
Note that enabling this will break newer Android user-space.
|
||||||
|
|
||||||
|
config ANDROID_BINDER_IPC_SELFTEST
|
||||||
|
bool "Android Binder IPC Driver Selftest"
|
||||||
|
depends on ANDROID_BINDER_IPC
|
||||||
|
---help---
|
||||||
|
This feature allows binder selftest to run.
|
||||||
|
|
||||||
|
Binder selftest checks the allocation and free of binder buffers
|
||||||
|
exhaustively with combinations of various buffer sizes and
|
||||||
|
alignments.
|
||||||
|
|
||||||
endif # if ANDROID
|
endif # if ANDROID
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
ccflags-y += -I$(src) # needed for trace events
|
ccflags-y += -I$(src) # needed for trace events
|
||||||
|
|
||||||
obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o
|
obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o binder_alloc.o
|
||||||
|
obj-$(CONFIG_ANDROID_BINDER_IPC_SELFTEST) += binder_alloc_selftest.o
|
||||||
|
|||||||
+2515
-1271
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user