My Linux and Open Source Software Penguin Logo Linux and Open Source News and Reviews
The Hungry Penguin
Linux & Me Blog    My Linux Blog (Archived)    What is Linux?    What is Open Source?

Sidebar

Open Source and the London Olympics



Dedicated Servers

lkml.org

lkml.org - the realtime linux kernel mailinglist archive

[PATCH v3] MIPS: pm-cps: Block system suspend when a JTAG probe is ...
Matt Redfearn writes: (Summary) + + switch (event) { + case PM_SUSPEND_PREPARE: + stat = read_cpc_cl_stat_conf(); + /* + * If we're attempting to suspend the system and power down all + * of the cores, the JTAG detect bit indicates that the CPC will + * instead put the cores into clock-off state. + } +} + static int __init cps_pm_init(void) { /* A CM is required for all non-coherent states */ @@ -705,6 +734,8 @@ static int __init cps_pm_init(void) pr_warn("pm-cps: no CPC, clock &
[PATCH 0/9] serial: Fix out-of-bounds accesses through DT aliases
Geert Uytterhoeven writes: (Summary) However, several drivers do not perform any validation on the index obtained from DT, which may lead to out-of-bounds accesses of these fixed-size arrays.
fixed-size arrays.
While the DTB passed to the kernel might be considered trusted, some of these out-of-bounds accesses can be triggered by a legitimate DTB: - In some drivers the size of the array is defined by a Kconfig symbol, so a user who doesn't need all serial ports may lower this value rightfully,
- Tomorrow's new SoC may have more serial ports than the fixed-size array in today's driver can accommodate, which the user may forget to enlarge.
to enlarge.
Hence this series fixes that by adding checks for out-of-range aliases, logging an error message when triggered.
logging an error message when triggered.
Tested on r8a7791/koelsch (sh-sci), all other drivers were compile-tested only.
compile-tested only.
Thanks for your comments!
Thanks for your comments!
Geert Uytterhoev
[PATCH] ASoC: uniphier: evea: fix typo 'eva' -> 'evea'
Katsuhiro Suzuki writes: (Summary) } -static const struct snd_kcontrol_new eva_controls[] = { +static const struct snd_kcontrol_new evea_controls[] = { SOC_SINGLE_BOOL_EXT("Line Capture Switch", 0, evea_get_switch_lin, evea_set_switch_lin), SOC_SINGLE_BOOL_EXT("Line Playback Switch", 0, @@ -384,8 +384,8 @@ static struct snd_soc_component_driver soc_codec_evea = { .num_dapm_widgets = ARRAY_SIZE(evea_widgets), .dapm_routes = evea_routes, .num_dapm_routes = ARRAY_SIZE(evea_routes), - .controls = eva_controls, - .num_controls = ARRAY_SIZE(eva_controls), + .controls = evea_controls, + .num_controls = ARRAY_SIZE(evea_controls), .idle_bias_on = 1, .use_pmdown_time = 1, .endianness = 1, -- 2.16.1
[PATCH] xen/blkback: update sysfs interface documentation
Aishwarya Pant writes: (Summary) Add documentation for statistic attribute ds_req - the number of discarded requests.
discarded requests.
Signed-off-by: Aishwarya Pant <aishpant@gmail.com> 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/ABI/stable/sysfs-bus-xen-backend b/Documentation/ABI/stable/sysfs-bus-xen-backend index 3d5951c8bf5f..20ef835785ec 100644 --- a/Documentation/ABI/stable/sysfs-bus-xen-backend +++ b/Documentation/ABI/stable/sysfs-bus-xen-backend @@ -73,3 +73,10 @@ KernelVersion: 3.0 Contact: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> +Description: + Number of discard requests from the frontend.
KASAN: use-after-free Read in pppol2tp_connect
syzbot writes: (Summary)
[PATCH] usb: host: ehci-platform: add support for optional externa ...
Amelie Delaunay writes: (Summary) 23 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-ehci.txt b/Documentation/devicetree/bindings/usb/usb-ehci.txt index 3efde12..fc480cd 100644 --- a/Documentation/devicetree/bindings/usb/usb-ehci.txt +++ b/Documentation/devicetree/bindings/usb/usb-ehci.txt @@ -19,6 +19,7 @@ Optional properties: - phys : phandle + phy specifier pair - phy-names : "usb" - resets : phandle + reset specifier pair + - vbus-supply : phandle of regulator supplying vbus Example (Sequoia 440EPx): ehci@e0000300 { diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index b065a96..76cc781 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -29,6 +29,7 @@ #include <linux/of.h>
[PATCH 0/2] add support for Socionext SynQuacer I2C controller
Ard Biesheuvel writes: (Summary) Add a binding and a driver for the I2C IP found in the Socionext SynQuacer SoC, which is essentially a rebranded version of the Fujitsu F_I2C controller. Ard Biesheuvel (2):
dt-bindings: i2c: add binding for Socionext SynQuacer I2C i2c: add support for Socionext SynQuacer I2C controller i2c: add support for Socionext SynQuacer I2C controller Documentation/devicetree/bindings/i2c/i2c-synquacer.txt | 1 + drivers/i2c/busses/i2c-synquacer.c | 817 ++++++++++++++++++++ 4 files changed, 858 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-synquacer.txt create mode 100644 drivers/i2c/busses/i2c-synquacer.c -- 2.11.0
[PATCH] block: rbd: update sysfs interface
Aishwarya Pant writes: (Summary) /sys/bus/rbd/remove + + Optional "force" argument which when passed will wait for + running requests and then unmap the image. (December 2013, since 3.14.) + refresh: (WO) Writing to this file will reread the image + header data and set all relevant data structures + accordingly. (For rbd image format 1 - this is empty.) + client_id: (RO) The ceph unique client id that was assigned + for this specific session.
[PATCH] PCI: stop crashing in pci_release_resource
"Christian König" writes: (Summary) Is it entirely possible that the BIOS wasn't able to assign resources to a device. In this case don't crash in pci_release_resource() when we try to resize the resource.
to resize the resource.
Signed-off-by: Christian K <christian.koenig@amd.com> 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index e815111f3f81..fd72c87a9b72 100644 --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c @@ -401,6 +401,9 @@ void pci_release_resource(struct pci_dev *dev, int resno) { struct resource *res = dev->resource + resno; + if (!res->parent) + return;
[PATCH RESEND 0/2] swap readahead clean up
minchan@kernel ... writes: (Summary) From: Minchan Kim <minchan@kernel.org>
From: Minchan Kim <minchan@kernel.org>
This patchset cleans up recent added vma-based readahead code via unifying cluster-based readahead.
unifying cluster-based readahead.
Resent based on mmotm-2018-02-06-16-41.
Resent based on mmotm-2018-02-06-16-41.
Minchan Kim (2):
mm: swap: clean up swap readahead
mm: swap: unify cluster-based and vma-based swap readahead mm: swap: unify cluster-based and vma-based swap readahead include/linux/swap.h | 38 +++--------- mm/memory.c |
[PATCH] mtd: nand: gpmi: fix edo mode for non fully ONFI compliant ...
Manfred Schlaegl writes: (Summary) In enable_edo_mode the timing mode feature is set according to previously read capabilities of the parameter page ("Timing mode support"). According to datasheet and parameter page, the flash supports timing mode 4 (edo), but the timing mode feature is simply missing.
is simply missing.
It seems that setting a non-existing feature is simply ignored. */ + /* [2] set the main IO clock, 100MHz for mode 5, 80MHz for mode 4.
[PATCH] kconfig: clean-up reverse dependency help implementation
Masahiro Yamada writes: (Summary) } -static void __expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken, bool revdep) +void expr_print(struct expr *e, + void (*fn)(void *, struct symbol *, const char *), + void *data, int prevtoken) { if (!e) { fn(data, NULL, "y"); */ +static void expr_print_revdep(struct expr *e, + void (*fn)(void *, struct symbol *, const char *), + void *data) +{ + if (e->type == E_OR) { + expr_print_revdep(e->left.expr, fn, data); + } else { + fn(data, NULL, " - ");
[PATCH RESEND] x86: consider effective protection attributes in W+ ...
"Jan Beulich" writes: (Summary) } else if (!kasan_page_table(m, st, pmd_start)) { - walk_pte_level(m, st, *start, + walk_pte_level(m, st, *start, eff, P + i * PMD_LEVEL_MULT); } else if (!kasan_page_table(m, st, pud_start)) { - walk_pmd_level(m, st, *start, + walk_pmd_level(m, st, *start, eff, P + i * PUD_LEVEL_MULT); } else if (!kasan_page_table(m, st, p4d_start)) { - walk_pud_level(m, st, *start, + walk_pud_level(m, st, *start, eff, P + i * P4D_LEVEL_MULT);
[PATCH] X86/UAPI: Use __u64 instead of u64 in hyperv.h
KarimAllah Ahmed writes: (Summary) 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h index 197c2e6..0994143 100644 --- a/arch/x86/include/uapi/asm/hyperv.h +++ b/arch/x86/include/uapi/asm/hyperv.h @@ -241,24 +241,24 @@ #define HV_X64_MSR_REENLIGHTENMENT_CONTROL 0x40000106 struct hv_reenlightenment_control { - u64 vector:8; #define HV_X64_MSR_TSC_EMULATION_CONTROL 0x40000107 #define HV_X64_MSR_TSC_EMULATION_STATUS 0x40000108 struct hv_tsc_emulation_control { - u64 enabled:1; struct hv_tsc_emulation_status { - u64 inprogress:1;
Timekeeping warning during resume from suspend to disk
Ivid Suvarna writes: (Summary) Any pointers on this would be helpful.
[ 545.227081] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) [ 545.227081] [<80018674>] (unwind_backtrace) from [<80013c24>] (show_stack+0x20/0x24)
[ 545.227081] [<80013c24>] (show_stack) from [<80684220>] (dump_stack+0x7c/0xbc)
[ 545.227081] [<80684220>] (dump_stack) from [<80034fcc>] (warn_slowpath_common+0x94/0xc4)
[ 545.227081] [<80034fcc>] (warn_slowpath_common) from [<800350b8>] (warn_slowpath_null+0x2c/0x34)
[ 545.227081] [<800350b8>] (warn_slowpath_null) from [<8009ce24>] (clockevents_program_event+0x14c/0x15c)
[ 545.227081] [<8009ce24>] (clockevents_program_event) from [<8009f39c>] (tick_resume_oneshot+0x5c/0x64)
[ 545.227081] [<8009f39c>] (tick_resume_oneshot) from [<8009daa8>] (tick_resume_local+0x58/0x68)
[ 545.227081] [<8009daa8>] (tick_resume_local) from [<8009daf4>] (tick_resume+0x1c/0x20)
[ 545
[PATCH v2] Staging: bcm2048: Fix function argument alignment in ra ...
Quytelda Kahja writes: (Summary) \ @@ -1966,8 +1966,8 @@ static ssize_t bcm2048_##prop##_write(struct device *dev, \ #define property_read(prop, mask) \ static ssize_t bcm2048_##prop##_read(struct device *dev, \ - struct device_attribute *attr, \ - char *buf) \ + struct device_attribute *attr, \ + char *buf) \ { \ struct bcm2048_device *bdev = dev_get_drvdata(dev); \ @@ -1985,8 +1985,8 @@ static ssize_t bcm2048_##prop##_read(struct device *dev, \ #define property_signed_read(prop, size, mask) \ static ssize_t bcm2048_##prop##_read(struct device *dev, \ - struct device_attribute *attr, \ - char *buf) \ + struct device_attribute *attr, \ + char *buf) \ { \ struct bcm2048_device *bdev = dev_get_drvdata(dev);
Hello Beautiful
Jack writes: (Summary) my name is Jack, from the U.S. I know this may seem inappropriate so i ask for your forgiveness but i wish to get to know you better, if I may be so bold. I consider myself an easy-going man, adventurous, honest and fun loving person but I am currently looking for a relationship in which I will feel loved. my name is Jack, from the U.S. I know this may seem inappropriate so i ask for your forgiveness but i wish to get to know you better, if I may be so bold. I consider myself an easy-going man, adventurous, honest and fun loving person but I am currently looking for a relationship in which I will feel loved.
[PATCH net-queue] e1000e: Fix check_for_link return value with aut ...
Benjamin Poirier writes: (Summary) This means that the link is not detected as up until the next execution of the e1000_watchdog_task() 2 seconds later.
e1000_watchdog_task() 2 seconds later.
Fixes: 19110cfbb34d ("e1000e: Separate signaling for link check/link up") Signed-off-by: Benjamin Poirier <bpoirier@suse.com> 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c index 31277d3bb7dc..ff308b05d68c 100644 --- a/drivers/net/ethernet/intel/e1000e/ich8lan.c +++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c @@ -1602,7 +1602,7 @@ static s32 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) * we have already determined whether we have link or not.

Linux News | Linux Articles | Linux Distributions | Linux Apps | Linux Kernel | Free Linux Download | Linux & Me Blog
Free Press Release Service | Bible Study Tool | New Covenant Workshop | Gary Sims
Press Releases and SEO

The original content of these pages (not the syndicated items) is licensed under a Creative Commons License.
News and media about the Linux operating system, open source software, Unix, Apache, LAMP, PHP, RSS, GNU and much more.