Home
last modified time | relevance | path

Searched +full:2020 +full:- +full:04 (Results 1 – 25 of 117) sorted by relevance

12345

/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-lefi-boardinfo2 Date: October 2020
20 Board Name : LEMOTE-LS3A4000-7A1000-1w-V01-pc
25 Version : Kunlun-A1901-V4.1.3-20200414093938
27 Release Date : 2020-04-14
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2020 Facebook */
12 return !(h->pprev); in hlist_unhashed_lockless()
17 return !hlist_unhashed_lockless(&timer->entry); in timer_pending()
51 const struct socket *sk_socket = sk->sk_socket; in sock_i_ino()
58 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
59 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
66 return icsk->icsk_ack.pingpong >= TCP_PINGPONG_THRESH; in inet_csk_in_pingpong_mode()
71 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart()
88 icsk = &tp->inet_conn; in dump_tcp_sock()
[all …]
H A Dbpf_iter_tcp6.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2020 Facebook */
12 return !(h->pprev); in hlist_unhashed_lockless()
17 return !hlist_unhashed_lockless(&timer->entry); in timer_pending()
51 const struct socket *sk_socket = sk->sk_socket; in sock_i_ino()
58 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
59 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
66 return icsk->icsk_ack.pingpong >= TCP_PINGPONG_THRESH; in inet_csk_in_pingpong_mode()
71 return tcp->snd_ssthresh >= TCP_INFINITE_SSTHRESH; in tcp_in_initial_slowstart()
88 icsk = &tp->tcp.inet_conn; in dump_tcp6_sock()
[all …]
/linux/tools/perf/Documentation/
H A Dsecurity.txt6 https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html
15 1. Download selinux-policy SRPM package (e.g. selinux-policy-3.14.4-48.fc31.src.rpm on FC31)
18 # rpm -Uhv selinux-policy-3.14.4-48.fc31.src.rpm
22 # rpmbuild -bp selinux-policy.spec
24 3. Place patch below at rpmbuild/BUILD/selinux-policy-b86eaaf4dbcf2d51dd4432df7185c0eaf3cbcc02
27 # patch -p1 < selinux-policy-perf-events-perfmon.patch
30 # cat selinux-policy-perf-events-perfmon.patch
31 diff -Nura a/policy/flask/access_vectors b/policy/flask/access_vectors
32 --- a/policy/flask/access_vectors 2020-02-04 18:19:53.000000000 +0300
33 +++ b/policy/flask/access_vectors 2020-02-28 23:37:25.000000000 +0300
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dsitronix,st7586.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Lechner <david@lechnology.com>
13 Sitronix ST7586 is a driver and controller for 4-level gray
15 https://topwaydisplay.com/sites/default/files/2020-04/ST7586S.pdf
17 $ref: panel/panel-common.yaml#
23 const: lego,ev3-lcd
28 spi-max-frequency:
31 a0-gpios:
[all …]
/linux/drivers/s390/char/
H A Dsclp_ap.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright IBM Corp. 2020
28 return -EOPNOTSUPP; in do_ap_configure()
32 return -ENOMEM; in do_ap_configure()
34 sccb->header.length = PAGE_SIZE; in do_ap_configure()
39 switch (sccb->header.response_code) { in do_ap_configure()
43 pr_warn("configure AP adapter %u failed: cmd=0x%08x response=0x%04x\n", in do_ap_configure()
44 apid, cmd, sccb->header.response_code); in do_ap_configure()
45 rc = -EIO; in do_ap_configure()
/linux/drivers/net/wireless/silabs/wfx/
H A Dbh.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
22 if (!wdev->pdata.gpio_wakeup) in device_wakeup()
24 if (gpiod_get_value_cansleep(wdev->pdata.gpio_wakeup) > 0) in device_wakeup()
28 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in device_wakeup()
29 if (!completion_done(&wdev->hif.ctrl_ready)) in device_wakeup()
34 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in device_wakeup()
38 if (wait_for_completion_timeout(&wdev->hif.ctrl_ready, msecs_to_jiffies(2))) { in device_wakeup()
39 complete(&wdev->hif.ctrl_ready); in device_wakeup()
[all …]
/linux/drivers/scsi/mpt3sas/mpi/
H A Dmpi2_pci.h2 * Copyright 2000-2020 Broadcom Inc. All rights reserved.
9 * mpi2_pci.h Version: 02.00.04
17 * ---------------
20 * -------- -------- ------------------------------------------------------
21 * 03-16-15 02.00.00 Initial version.
22 * 02-17-16 02.00.01 Removed AHCI support.
24 * 07-01-16 02.00.02 Added MPI26_NVME_FLAGS_FORCE_ADMIN_ERR_RESP to
26 * 07-22-18 02.00.03 Updted flags field for NVME Encapsulated req
27 * 12-17-18 02.00.04 Added MPI26_PCIE_DEVINFO_SCSI
29 * --------------------------------------------------------------------------
H A Dmpi2_raid.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright 2000-2020 Broadcom Inc. All rights reserved.
13 * ---------------
16 * -------- -------- ------------------------------------------------------
17 * 04-30-07 02.00.00 Corresponds to Fusion-MPT MPI Specification Rev A.
18 * 08-31-07 02.00.01 Modifications to RAID Action request and reply,
20 * 02-29-08 02.00.02 Added MPI2_RAID_ACTION_ADATA_DISABL_FULL_REBUILD.
21 * 05-21-08 02.00.03 Added MPI2_RAID_VOL_CREATION_NUM_PHYSDISKS so that
24 * 07-30-09 02.00.04 Added proper define for the Use Default Settings bit of
26 * 05-12-10 02.00.05 Added MPI2_RAID_VOL_FLAGS_OP_MDC define.
[all …]
/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_hid.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2020-2021 Advanced Micro Devices, Inc.
6 * Authors: Nehal Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com>
20 * amdtp_hid_parse() - hid-core .parse() callback
29 struct amdtp_hid_data *hid_data = hid->driver_data; in amdtp_hid_parse()
30 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amdtp_hid_parse()
32 return hid_parse_report(hid, cli_data->report_descr[hid_data->index], in amdtp_hid_parse()
33 cli_data->report_descr_sz[hid_data->index]); in amdtp_hid_parse()
67 rc = amd_sfh_get_report(hid, rep->id, rep->type); in amdtp_hid_request()
69 dev_err(&hid->dev, "AMDSFH get report error\n"); in amdtp_hid_request()
[all …]
/linux/Documentation/admin-guide/media/
H A Dgspca-cardlist.rst1 .. SPDX-License-Identifier: GPL-2.0
8 - gspca_main: main driver
9 - gspca\_\ *driver*: subdriver module with *driver* as follows
19 spca501 040a:0002 Kodak DVC-325
24 spca500 041e:400a Creative PC-CAM 300
25 sunplus 041e:400b Creative PC-CAM 600
26 sunplus 041e:4012 PC-Cam350
41 sq930x 041e:4038 Creative Joy-IT
69 sn9c20x 0458:704c Genius i-Look 1321
70 sn9c20x 045e:00f4 LifeCam VX-6000 (SN9C20x + OV9650)
[all …]
/linux/arch/loongarch/pci/
H A Dacpi.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
10 #include <linux/pci-acpi.h>
11 #include <linux/pci-ecam.h>
30 struct device *bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare()
31 struct pci_config_window *cfg = bridge->bus->sysdata; in pcibios_root_bridge_prepare()
34 adev = to_acpi_device(cfg->parent); in pcibios_root_bridge_prepare()
36 ACPI_COMPANION_SET(&bridge->dev, adev); in pcibios_root_bridge_prepare()
37 set_dev_node(bus_dev, pa_to_nid(cfg->res.start)); in pcibios_root_bridge_prepare()
44 struct pci_config_window *cfg = bus->sysdata; in acpi_pci_bus_find_domain_nr()
[all …]
/linux/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteontx2.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
7 Copyright (c) 2020 Marvell International Ltd.
12 - `Overview`_
13 - `Drivers`_
14 - `Basic packet flow`_
15 - `Devlink health reporters`_
16 - `Quality of service`_
17 - `RVU representors`_
24 PCI-compatible physical and virtual functions. Each functional block
32 - Network pool or buffer allocator (NPA)
[all …]
/linux/tools/testing/selftests/powerpc/nx-gzip/include/
H A Dnx_dbg.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2020 IBM Corporation
34 flock(nx_gzip_log->_fileno, LOCK_EX); \
36 fprintf(nx_gzip_log, "[%04d/%02d/%02d %02d:%02d:%02d] " \
38 (int)m->tm_year + 1900, (int)m->tm_mon+1, (int)m->tm_mday, \
39 (int)m->tm_hour, (int)m->tm_min, (int)m->tm_sec, \
42 flock(nx_gzip_log->_fileno, LOCK_UN); \
87 * str_to_num - Convert string into number and copy with endings like
/linux/drivers/mfd/
H A Dntxec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * e-book readers designed by the original design manufacturer Netronix, Inc.
9 * power-off/reset.
11 * Copyright 2020 Jonathan Neuschäfer <j.neuschaefer@gmx.net>
43 .addr = poweroff_restart_client->addr, in ntxec_poweroff()
52 res = i2c_transfer(poweroff_restart_client->adapter, msgs, ARRAY_SIZE(msgs)); in ntxec_poweroff()
54 dev_warn(&poweroff_restart_client->dev, in ntxec_poweroff()
73 * does send the full two-byte value, but doesn't check the result). in ntxec_restart()
77 .addr = poweroff_restart_client->addr, in ntxec_restart()
79 .len = sizeof(buf) - 1, in ntxec_restart()
[all …]
H A Dgateworks-gsc.c1 // SPDX-License-Identifier: GPL-2.0
3 * The Gateworks System Controller (GSC) is a multi-function
6 * system functions such as push-button monitoring, multiple ADC's for
9 * Copyright (C) 2020 Gateworks Corporation
40 * -EAGAIN returned when the i2c host controller is busy in gsc_write()
41 * -EIO returned when i2c device is busy in gsc_write()
43 if (ret != -EAGAIN && ret != -EIO) in gsc_write()
59 * -EAGAIN returned when the i2c host controller is busy in gsc_read()
60 * -EIO returned when i2c device is busy in gsc_read()
62 if (ret != -EAGAIN && ret != -EIO) in gsc_read()
[all …]
/linux/net/dsa/
H A Dtag_rtl4_a.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2020 Linus Walleij <linus.walleij@linaro.org>
9 * -------------------------------------------------
11 * -------------------------------------------------
48 dp->index); in rtl4a_tag_xmit()
60 out |= BIT(dp->index); in rtl4a_tag_xmit()
86 netdev_dbg(dev, "non-realtek ethertype 0x%04x\n", etype); in rtl4a_tag_rcv()
99 skb->dev = dsa_conduit_find_user(dev, 0, port); in rtl4a_tag_rcv()
100 if (!skb->dev) { in rtl4a_tag_rcv()
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-check-branches.sh2 # SPDX-License-Identifier: GPL-2.0+
5 # unconditionally does three-minute runs on each scenario in CFLIST,
9 # might grow some command-line arguments.
11 # Usage: kvm-check-branches.sh commit1 commit2..commit3 commit4 ...
14 # specification of commits is needed, please use "git rev-list" to
19 # This script creates a yyyy.mm.dd-hh.mm.ss-group entry in the "res"
21 # moves them under the yyyy.mm.dd-hh.mm.ss-group entry, each in its own
27 # Copyright (C) Facebook, 2020
39 curcommit="`git status | head -1 | awk '{ print $NF }'`"
44 ds="`date +%Y.%m.%d-%H.%M.%S`-group"
[all …]
/linux/drivers/firmware/smccc/
H A Dsoc_id.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2020 Arm Limited
8 #include <linux/arm-smccc.h>
19 * Section 7.4 SMCCC_ARCH_SOC_ID bits[23:16] are JEP-106 identification
131 return -EINVAL; in smccc_soc_init()
137 return -EINVAL; in smccc_soc_init()
142 return -ENOMEM; in smccc_soc_init()
148 sprintf(soc_id_str, "%s:%04x", soc_id_jep106_id_str, in smccc_soc_init()
151 soc_dev_attr->soc_id = soc_id_str; in smccc_soc_init()
152 soc_dev_attr->revision = soc_id_rev_str; in smccc_soc_init()
[all …]
/linux/Documentation/dev-tools/
H A Dkfence.rst1 .. SPDX-License-Identifier: GPL-2.0
2 .. Copyright (C) 2020, Google LLC.
4 Kernel Electric-Fence (KFENCE)
7 Kernel Electric-Fence (KFENCE) is a low-overhead sampling-based memory safety
8 error detector. KFENCE detects heap out-of-bounds access, use-after-free, and
9 invalid-free errors.
15 non-production test workloads. One way to quickly achieve a large enough total
19 -----
26 ``kfence.sample_interval`` to non-zero value), configure the kernel with::
46 causes CPU wake-ups when the system is completely idle. This may be undesirable
[all …]
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-regmap.c1 // SPDX-License-Identifier: GPL-2.0
3 // mcp251xfd - Microchip MCP251xFD Family CAN controller driver
5 // Copyright (c) 2019, 2020, 2021 Pengutronix,
6 // Marc Kleine-Budde <kernel@pengutronix.de>
30 struct mcp251xfd_map_buf_nocrc *buf_tx = priv->map_buf_nocrc_tx; in mcp251xfd_regmap_nocrc_gather_write()
34 .len = sizeof(buf_tx->cmd) + val_len, in mcp251xfd_regmap_nocrc_gather_write()
38 BUILD_BUG_ON(sizeof(buf_tx->cmd) != sizeof(__be16)); in mcp251xfd_regmap_nocrc_gather_write()
41 reg_len != sizeof(buf_tx->cmd.cmd)) in mcp251xfd_regmap_nocrc_gather_write()
42 return -EINVAL; in mcp251xfd_regmap_nocrc_gather_write()
44 memcpy(&buf_tx->cmd, reg, sizeof(buf_tx->cmd)); in mcp251xfd_regmap_nocrc_gather_write()
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Duserspace_msr_exit_test.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020, Google LLC.
82 u32 idx = msr & (KVM_MSR_FILTER_MAX_BITMAP_SIZE - 1); in deny_msr()
291 /* This goes into the in-kernel emulation */ in guest_msr_calls()
306 /* This goes into the in-kernel emulation */ in guest_msr_calls()
359 if (regs->rip == (uintptr_t)r_start) { in __guest_gp_handler()
360 regs->rip = (uintptr_t)r_end; in __guest_gp_handler()
361 regs->rax = 0; in __guest_gp_handler()
362 regs->rdx = 0; in __guest_gp_handler()
363 } else if (regs->rip == (uintptr_t)w_start) { in __guest_gp_handler()
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dtrace.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2020-2022 Maximilian Luz <luzmaximilian@gmail.com>
95 #define SSAM_U8_FIELD_NOT_APPLICABLE ((u16)-1)
96 #define SSAM_SEQ_NOT_APPLICABLE ((u16)-1)
97 #define SSAM_RQID_NOT_APPLICABLE ((u32)-1)
99 #define SSAM_SSH_TID_NOT_APPLICABLE ((u8)-1)
105 * ssam_trace_ptr_uid() - Convert the pointer to a non-pointer UID string.
119 memcpy(uid_str, &buf[ARRAY_SIZE(buf) - SSAM_PTR_UID_LEN], in ssam_trace_ptr_uid()
124 * ssam_trace_get_packet_seq() - Read the packet's sequence ID.
132 if (!p->data.ptr || p->data.len < SSH_MESSAGE_LENGTH(0)) in ssam_trace_get_packet_seq()
[all …]
/linux/Documentation/admin-guide/blockdev/
H A Dramdisk.rst14 -----------
18 in order to access the root filesystem (see Documentation/admin-guide/initrd.rst). It can
41 ---------------------------------
63 ---------------
85 -----------------------------------------------
106 mke2fs -vm0 /dev/ram0 2048
115 dd if=/dev/ram0 bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz
141 ----------
143 SEPT-2020 :
147 10-22-04 :
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (C) 2020 Felix Fietkau <nbd@nbd.name> */
38 [MTK_PPE_PKT_TYPE_IPV4_DSLITE] = "DS-LITE", in mtk_foe_pkt_type_str()
67 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info()
68 if (ai->src_port) in mtk_print_addr_info()
69 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info()
70 seq_printf(m, "->"); in mtk_print_addr_info()
71 mtk_print_addr(m, ai->dest, ai->ipv6); in mtk_print_addr_info()
72 if (ai->dest_port) in mtk_print_addr_info()
73 seq_printf(m, ":%d", *ai->dest_port); in mtk_print_addr_info()
[all …]

12345