diff options
author | Alexandre Oliva <lxoliva@fsfla.org> | 2018-01-24 08:07:11 +0000 |
---|---|---|
committer | Alexandre Oliva <lxoliva@fsfla.org> | 2018-01-24 08:07:11 +0000 |
commit | 470f9fdd38df6fcd1efd47533279d93b2588d160 (patch) | |
tree | 1cb00e261cc1e611b1a764ccafe39212fec2497a | |
parent | 1cfa5222622a5aecb7a2be983118ee18ebb0e735 (diff) | |
download | linux-libre-raptor-470f9fdd38df6fcd1efd47533279d93b2588d160.tar.gz linux-libre-raptor-470f9fdd38df6fcd1efd47533279d93b2588d160.zip |
4.15.0-0.rc9.git0.1.fc28.gnu
27 files changed, 116 insertions, 191 deletions
diff --git a/freed-ora/current/master/configs/fedora/generic/CONFIG_IP6_NF_TARGET_NPT b/freed-ora/current/master/configs/fedora/generic/CONFIG_IP6_NF_TARGET_NPT index bb6d2f77a..e9a67d4fe 100644 --- a/freed-ora/current/master/configs/fedora/generic/CONFIG_IP6_NF_TARGET_NPT +++ b/freed-ora/current/master/configs/fedora/generic/CONFIG_IP6_NF_TARGET_NPT @@ -1 +1 @@ -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m diff --git a/freed-ora/current/master/gitrev b/freed-ora/current/master/gitrev index 18e11e412..871a5556f 100644 --- a/freed-ora/current/master/gitrev +++ b/freed-ora/current/master/gitrev @@ -1 +1 @@ -1545dec46db3858bbce84c2065b579e2925706ab +dda3e15231b35840fe6f0973f803cc70ddb86281 diff --git a/freed-ora/current/master/input-rmi4-remove-the-need-for-artifical-IRQ.patch b/freed-ora/current/master/input-rmi4-remove-the-need-for-artifical-IRQ.patch index 01b1a4660..75e45dcb9 100644 --- a/freed-ora/current/master/input-rmi4-remove-the-need-for-artifical-IRQ.patch +++ b/freed-ora/current/master/input-rmi4-remove-the-need-for-artifical-IRQ.patch @@ -22,7 +22,7 @@ Signed-off-by: Lyude <lyude@redhat.com> 3 files changed, 75 insertions(+), 112 deletions(-) diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c -index 5b40c26..4aa882c 100644 +index 0f43c42..3f38872 100644 --- a/drivers/hid/hid-rmi.c +++ b/drivers/hid/hid-rmi.c @@ -316,19 +316,12 @@ static int rmi_input_event(struct hid_device *hdev, u8 *data, int size) @@ -30,25 +30,25 @@ index 5b40c26..4aa882c 100644 struct rmi_data *hdata = hid_get_drvdata(hdev); struct rmi_device *rmi_dev = hdata->xport.rmi_dev; - unsigned long flags; - + if (!(test_bit(RMI_STARTED, &hdata->flags))) return 0; - + - local_irq_save(flags); - rmi_set_attn_data(rmi_dev, data[1], &data[2], size - 2); - + - generic_handle_irq(hdata->rmi_irq); - - local_irq_restore(flags); - return 1; } - -@@ -556,56 +549,6 @@ static const struct rmi_transport_ops hid_rmi_ops = { + +@@ -568,56 +561,6 @@ static const struct rmi_transport_ops hid_rmi_ops = { .reset = rmi_hid_reset, }; - + -static void rmi_irq_teardown(void *data) -{ - struct rmi_data *hdata = data; @@ -102,10 +102,10 @@ index 5b40c26..4aa882c 100644 static int rmi_probe(struct hid_device *hdev, const struct hid_device_id *id) { struct rmi_data *data = NULL; -@@ -677,18 +620,11 @@ static int rmi_probe(struct hid_device *hdev, const struct hid_device_id *id) - +@@ -689,18 +632,11 @@ static int rmi_probe(struct hid_device *hdev, const struct hid_device_id *id) + mutex_init(&data->page_mutex); - + - ret = rmi_setup_irq_domain(hdev); - if (ret) { - hid_err(hdev, "failed to allocate IRQ domain\n"); @@ -114,26 +114,26 @@ index 5b40c26..4aa882c 100644 - if (data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) rmi_hid_pdata.f30_data.disable = true; - + data->xport.dev = hdev->dev.parent; data->xport.pdata = rmi_hid_pdata; - data->xport.pdata.irq = data->rmi_irq; data->xport.proto_name = "hid"; data->xport.ops = &hid_rmi_ops; - + diff --git a/drivers/input/rmi4/rmi_driver.c b/drivers/input/rmi4/rmi_driver.c -index 4f2bb59..6d7da84 100644 +index 141ea22..15b22db 100644 --- a/drivers/input/rmi4/rmi_driver.c +++ b/drivers/input/rmi4/rmi_driver.c -@@ -209,32 +209,46 @@ void rmi_set_attn_data(struct rmi_device *rmi_dev, unsigned long irq_status, +@@ -209,34 +209,47 @@ void rmi_set_attn_data(struct rmi_device *rmi_dev, unsigned long irq_status, attn_data.data = fifo_data; - + kfifo_put(&drvdata->attn_fifo, attn_data); + + schedule_work(&drvdata->attn_work); } EXPORT_SYMBOL_GPL(rmi_set_attn_data); - + -static irqreturn_t rmi_irq_fn(int irq, void *dev_id) +static void attn_callback(struct work_struct *work) { @@ -144,7 +144,7 @@ index 4f2bb59..6d7da84 100644 + attn_work); struct rmi4_attn_data attn_data = {0}; int ret, count; - + count = kfifo_get(&drvdata->attn_fifo, &attn_data); - if (count) { - *(drvdata->irq_status) = attn_data.irq_status; @@ -152,7 +152,7 @@ index 4f2bb59..6d7da84 100644 - } + if (!count) + return; - + - ret = rmi_process_interrupt_requests(rmi_dev); + *(drvdata->irq_status) = attn_data.irq_status; + drvdata->attn_data = attn_data; @@ -162,11 +162,14 @@ index 4f2bb59..6d7da84 100644 - rmi_dbg(RMI_DEBUG_CORE, &rmi_dev->dev, + rmi_dbg(RMI_DEBUG_CORE, &drvdata->rmi_dev->dev, "Failed to process interrupt request: %d\n", ret); - -- if (count) + +- if (count) { - kfree(attn_data.data); +- attn_data.data = NULL; +- } + kfree(attn_data.data); - ++ attn_data.data = NULL; + if (!kfifo_is_empty(&drvdata->attn_fifo)) - return rmi_irq_fn(irq, dev_id); + schedule_work(&drvdata->attn_work); @@ -181,30 +184,30 @@ index 4f2bb59..6d7da84 100644 + if (ret) + rmi_dbg(RMI_DEBUG_CORE, &rmi_dev->dev, + "Failed to process interrupt request: %d\n", ret); - + return IRQ_HANDLED; } -@@ -242,7 +256,6 @@ static irqreturn_t rmi_irq_fn(int irq, void *dev_id) +@@ -244,7 +257,6 @@ static irqreturn_t rmi_irq_fn(int irq, void *dev_id) static int rmi_irq_init(struct rmi_device *rmi_dev) { struct rmi_device_platform_data *pdata = rmi_get_platform_data(rmi_dev); - struct rmi_driver_data *data = dev_get_drvdata(&rmi_dev->dev); int irq_flags = irq_get_trigger_type(pdata->irq); int ret; - -@@ -260,8 +273,6 @@ static int rmi_irq_init(struct rmi_device *rmi_dev) + +@@ -262,8 +274,6 @@ static int rmi_irq_init(struct rmi_device *rmi_dev) return ret; } - + - data->enabled = true; - return 0; } - -@@ -910,23 +921,27 @@ void rmi_enable_irq(struct rmi_device *rmi_dev, bool clear_wake) + +@@ -912,23 +922,27 @@ void rmi_enable_irq(struct rmi_device *rmi_dev, bool clear_wake) if (data->enabled) goto out; - + - enable_irq(irq); - data->enabled = true; - if (clear_wake && device_may_wakeup(rmi_dev->xport->dev)) { @@ -224,7 +227,7 @@ index 4f2bb59..6d7da84 100644 + "Failed to disable irq for wake: %d\n", + retval); + } - + - /* - * Call rmi_process_interrupt_requests() after enabling irq, - * otherwise we may lose interrupt on edge-triggered systems. @@ -242,12 +245,12 @@ index 4f2bb59..6d7da84 100644 + } else { + data->enabled = true; + } - + out: mutex_unlock(&data->enabled_mutex); -@@ -946,20 +961,22 @@ void rmi_disable_irq(struct rmi_device *rmi_dev, bool enable_wake) +@@ -948,20 +962,22 @@ void rmi_disable_irq(struct rmi_device *rmi_dev, bool enable_wake) goto out; - + data->enabled = false; - disable_irq(irq); - if (enable_wake && device_may_wakeup(rmi_dev->xport->dev)) { @@ -280,25 +283,25 @@ index 4f2bb59..6d7da84 100644 + kfree(attn_data.data); + } } - + out: -@@ -998,9 +1015,12 @@ EXPORT_SYMBOL_GPL(rmi_driver_resume); +@@ -1000,9 +1016,12 @@ EXPORT_SYMBOL_GPL(rmi_driver_resume); static int rmi_driver_remove(struct device *dev) { struct rmi_device *rmi_dev = to_rmi_device(dev); + struct rmi_driver_data *data = dev_get_drvdata(&rmi_dev->dev); - + rmi_disable_irq(rmi_dev, false); - + + cancel_work_sync(&data->attn_work); + rmi_f34_remove_sysfs(rmi_dev); rmi_free_function_list(rmi_dev); - -@@ -1230,9 +1250,15 @@ static int rmi_driver_probe(struct device *dev) + +@@ -1232,9 +1251,15 @@ static int rmi_driver_probe(struct device *dev) } } - + - retval = rmi_irq_init(rmi_dev); - if (retval < 0) - goto err_destroy_functions; @@ -311,21 +314,18 @@ index 4f2bb59..6d7da84 100644 + data->enabled = true; + + INIT_WORK(&data->attn_work, attn_callback); - + if (data->f01_container->dev.driver) { /* Driver already bound, so enable ATTN now. */ diff --git a/include/linux/rmi.h b/include/linux/rmi.h -index 64125443..dc90178 100644 +index 6412544..dc90178 100644 --- a/include/linux/rmi.h +++ b/include/linux/rmi.h @@ -364,6 +364,7 @@ struct rmi_driver_data { - + struct rmi4_attn_data attn_data; DECLARE_KFIFO(attn_fifo, struct rmi4_attn_data, 16); + struct work_struct attn_work; }; - - int rmi_register_transport_device(struct rmi_transport_dev *xport); --- -2.9.4 + int rmi_register_transport_device(struct rmi_transport_dev *xport); diff --git a/freed-ora/current/master/kernel-aarch64-debug.config b/freed-ora/current/master/kernel-aarch64-debug.config index 826a700c7..eb6572174 100644 --- a/freed-ora/current/master/kernel-aarch64-debug.config +++ b/freed-ora/current/master/kernel-aarch64-debug.config @@ -2335,7 +2335,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-aarch64.config b/freed-ora/current/master/kernel-aarch64.config index bbf49a4a3..f35d968bb 100644 --- a/freed-ora/current/master/kernel-aarch64.config +++ b/freed-ora/current/master/kernel-aarch64.config @@ -2318,7 +2318,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-armv7hl-debug.config b/freed-ora/current/master/kernel-armv7hl-debug.config index 3eb1557e2..67646a09e 100644 --- a/freed-ora/current/master/kernel-armv7hl-debug.config +++ b/freed-ora/current/master/kernel-armv7hl-debug.config @@ -2487,7 +2487,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-armv7hl-lpae-debug.config b/freed-ora/current/master/kernel-armv7hl-lpae-debug.config index 6957909a2..5d6394f65 100644 --- a/freed-ora/current/master/kernel-armv7hl-lpae-debug.config +++ b/freed-ora/current/master/kernel-armv7hl-lpae-debug.config @@ -2356,7 +2356,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-armv7hl-lpae.config b/freed-ora/current/master/kernel-armv7hl-lpae.config index 5918a867e..02590cc3a 100644 --- a/freed-ora/current/master/kernel-armv7hl-lpae.config +++ b/freed-ora/current/master/kernel-armv7hl-lpae.config @@ -2339,7 +2339,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-armv7hl.config b/freed-ora/current/master/kernel-armv7hl.config index 21b98da3b..dc407669d 100644 --- a/freed-ora/current/master/kernel-armv7hl.config +++ b/freed-ora/current/master/kernel-armv7hl.config @@ -2470,7 +2470,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-i686-PAE.config b/freed-ora/current/master/kernel-i686-PAE.config index a096c245e..c3de96bc8 100644 --- a/freed-ora/current/master/kernel-i686-PAE.config +++ b/freed-ora/current/master/kernel-i686-PAE.config @@ -2226,7 +2226,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-i686-PAEdebug.config b/freed-ora/current/master/kernel-i686-PAEdebug.config index fcddb3c85..44c6701fb 100644 --- a/freed-ora/current/master/kernel-i686-PAEdebug.config +++ b/freed-ora/current/master/kernel-i686-PAEdebug.config @@ -2244,7 +2244,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-i686-debug.config b/freed-ora/current/master/kernel-i686-debug.config index ce6581a3a..060bcf68f 100644 --- a/freed-ora/current/master/kernel-i686-debug.config +++ b/freed-ora/current/master/kernel-i686-debug.config @@ -2244,7 +2244,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-i686.config b/freed-ora/current/master/kernel-i686.config index fbf63ab8f..baac60b92 100644 --- a/freed-ora/current/master/kernel-i686.config +++ b/freed-ora/current/master/kernel-i686.config @@ -2226,7 +2226,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-ppc64-debug.config b/freed-ora/current/master/kernel-ppc64-debug.config index 33367931f..d4baa5a65 100644 --- a/freed-ora/current/master/kernel-ppc64-debug.config +++ b/freed-ora/current/master/kernel-ppc64-debug.config @@ -2095,7 +2095,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-ppc64.config b/freed-ora/current/master/kernel-ppc64.config index d42ccd423..db20597d3 100644 --- a/freed-ora/current/master/kernel-ppc64.config +++ b/freed-ora/current/master/kernel-ppc64.config @@ -2077,7 +2077,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-ppc64le-debug.config b/freed-ora/current/master/kernel-ppc64le-debug.config index 4e35cff41..649182c6b 100644 --- a/freed-ora/current/master/kernel-ppc64le-debug.config +++ b/freed-ora/current/master/kernel-ppc64le-debug.config @@ -2040,7 +2040,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-ppc64le.config b/freed-ora/current/master/kernel-ppc64le.config index d2cf6e675..d6a4aef9b 100644 --- a/freed-ora/current/master/kernel-ppc64le.config +++ b/freed-ora/current/master/kernel-ppc64le.config @@ -2022,7 +2022,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-s390x-debug.config b/freed-ora/current/master/kernel-s390x-debug.config index 3728cdc45..ac57481d1 100644 --- a/freed-ora/current/master/kernel-s390x-debug.config +++ b/freed-ora/current/master/kernel-s390x-debug.config @@ -1993,7 +1993,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-s390x.config b/freed-ora/current/master/kernel-s390x.config index 604fac80e..70ff20b88 100644 --- a/freed-ora/current/master/kernel-s390x.config +++ b/freed-ora/current/master/kernel-s390x.config @@ -1975,7 +1975,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-x86_64-debug.config b/freed-ora/current/master/kernel-x86_64-debug.config index 3c1f5ed85..06c9c005b 100644 --- a/freed-ora/current/master/kernel-x86_64-debug.config +++ b/freed-ora/current/master/kernel-x86_64-debug.config @@ -2301,7 +2301,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel-x86_64.config b/freed-ora/current/master/kernel-x86_64.config index 374ec93d7..998a39939 100644 --- a/freed-ora/current/master/kernel-x86_64.config +++ b/freed-ora/current/master/kernel-x86_64.config @@ -2283,7 +2283,7 @@ CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_MASQUERADE=m -# CONFIG_IP6_NF_TARGET_NPT is not set +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_TARGET_SYNPROXY=m # CONFIG_IPACK_BUS is not set diff --git a/freed-ora/current/master/kernel.spec b/freed-ora/current/master/kernel.spec index 0a5aac864..a1e3aa3dd 100644 --- a/freed-ora/current/master/kernel.spec +++ b/freed-ora/current/master/kernel.spec @@ -105,7 +105,7 @@ Summary: The Linux kernel # The next upstream release sublevel (base_sublevel+1) %define upstream_sublevel %(echo $((%{base_sublevel} + 1))) # The rc snapshot level -%global rcrev 8 +%global rcrev 9 # The git snapshot level %define gitrev 0 # Set rpm version accordingly @@ -156,11 +156,20 @@ Summary: The Linux kernel # build a release kernel on rawhide %define with_release %{?_with_release: 1} %{?!_with_release: 0} +# verbose build, i.e. no silent rules and V=1 +%define with_verbose %{?_with_verbose: 1} %{?!_with_verbose: 0} + # Set debugbuildsenabled to 1 for production (build separate debug kernels) # and 0 for rawhide (all kernels are debug kernels). # See also 'make debug' and 'make release'. %define debugbuildsenabled 1 +%if %{with_verbose} +%define make_opts V=1 +%else +%define make_opts -s +%endif + # Want to build a vanilla kernel build without any non-upstream patches? %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0} @@ -632,10 +641,6 @@ Patch332: arm64-socionext-96b-enablement.patch # https://patchwork.kernel.org/patch/10149775/ MMC support for Synquacer Patch333: arm64-mmc-sdhci_f_sdh30-add-ACPI-support.patch -# Fix Raspberry Pi and possibly some other dwc2/dwc3 users -# https://patchwork.kernel.org/patch/10149439/ -Patch399: phy-work-around-phys-references-to-usb-phy-devices.patch - # 400 - IBM (ppc/s390x) patches # 500 - Temp fixes/CVEs etc @@ -1354,7 +1359,7 @@ BuildKernel() { # and now to start the build process - make -s mrproper + make %{?make_opts} mrproper cp configs/$Config .config %if %{signkernel}%{signmodules} @@ -1364,9 +1369,9 @@ BuildKernel() { Arch=`head -1 .config | cut -b 3-` echo USING ARCH=$Arch - make -s ARCH=$Arch oldnoconfig >/dev/null - %{make} -s ARCH=$Arch V=1 %{?_smp_mflags} $MakeTarget %{?sparse_mflags} %{?kernel_mflags} - %{make} -s ARCH=$Arch V=1 %{?_smp_mflags} modules %{?sparse_mflags} || exit 1 + make %{?make_opts} ARCH=$Arch olddefconfig >/dev/null + %{make} %{?make_opts} ARCH=$Arch %{?_smp_mflags} $MakeTarget %{?sparse_mflags} %{?kernel_mflags} + %{make} %{?make_opts} ARCH=$Arch %{?_smp_mflags} modules %{?sparse_mflags} || exit 1 mkdir -p $RPM_BUILD_ROOT/%{image_install_path} mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer @@ -1375,7 +1380,7 @@ BuildKernel() { %endif %ifarch %{arm} aarch64 - %{make} -s ARCH=$Arch V=1 dtbs dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer + %{make} %{?make_opts} ARCH=$Arch dtbs dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer cp -r $RPM_BUILD_ROOT/%{image_install_path}/dtb-$KernelVer $RPM_BUILD_ROOT/lib/modules/$KernelVer/dtb find arch/$Arch/boot/dts -name '*.dtb' -type f | xargs rm -f %endif @@ -1416,10 +1421,10 @@ BuildKernel() { # Override $(mod-fw) because we don't want it to install any firmware # we'll get it from the linux-firmware package and we don't want conflicts - %{make} -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw= + %{make} %{?make_opts} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw= if [ $DoVDSO -ne 0 ]; then - %{make} -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer + %{make} %{?make_opts} ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT vdso_install KERNELRELEASE=$KernelVer if [ ! -s ldconfig-kernel.conf ]; then echo > ldconfig-kernel.conf "\ # Placeholder file, no vDSO hwcap entries used in this kernel." @@ -1998,6 +2003,30 @@ fi # # %changelog +* Tue Jan 23 2018 Alexandre Oliva <lxoliva@fsfla.org> -libre +- GNU Linux-libre 4.15-rc9-gnu. + +* Mon Jan 22 2018 Justin M. Forbes <jforbes@fedoraproject.org> - 4.15.0-0.rc9.git0.1 +- Linux v4.15-rc9 + +* Mon Jan 22 2018 Justin M. Forbes <jforbes@fedoraproject.org> +- Disable debugging options. + +* Fri Jan 19 2018 Laura Abbott <labbott@redhat.com> - 4.15.0-0.rc8.git3.1 +- Linux v4.15-rc8-120-gdda3e15231b3 + +* Thu Jan 18 2018 Laura Abbott <labbott@redhat.com> +- Enable CONFIG_IP6_NF_TARGET_NPT (rhbz 1435884) + +* Thu Jan 18 2018 Laura Abbott <labbott@redhat.com> - 4.15.0-0.rc8.git2.1 +- Linux v4.15-rc8-104-g1d966eb4d632 + +* Wed Jan 17 2018 Laura Abbott <labbott@redhat.com> - 4.15.0-0.rc8.git1.1 +- Linux v4.15-rc8-72-g8cbab92dff77 + +* Wed Jan 17 2018 Laura Abbott <labbott@redhat.com> +- Reenable debugging options. + * Mon Jan 15 2018 Alexandre Oliva <lxoliva@fsfla.org> -libre - GNU Linux-libre 4.15-rc8-gnu. diff --git a/freed-ora/current/master/patch-4.14-gnu-4.15-rc8-gnu.xz.sign b/freed-ora/current/master/patch-4.14-gnu-4.15-rc8-gnu.xz.sign deleted file mode 100644 index 7c5a9a587..000000000 --- a/freed-ora/current/master/patch-4.14-gnu-4.15-rc8-gnu.xz.sign +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRHRALIxYLa++OJxCe8t8+Hfn1HpwUCWlwUYgAKCRC8t8+Hfn1H -p3ogAJ9yoi+SNoVBJGF68uv8Grx0v9V1ywCgrC04Z6K50t6dkuf25waFWvyj49M= -=on+e ------END PGP SIGNATURE----- diff --git a/freed-ora/current/master/patch-4.14-gnu-4.15-rc9-gnu.xz.sign b/freed-ora/current/master/patch-4.14-gnu-4.15-rc9-gnu.xz.sign new file mode 100644 index 000000000..2eaca311c --- /dev/null +++ b/freed-ora/current/master/patch-4.14-gnu-4.15-rc9-gnu.xz.sign @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRHRALIxYLa++OJxCe8t8+Hfn1HpwUCWmVtxQAKCRC8t8+Hfn1H +p+xYAJsGKZjAjbAkV3mpYEiYpmvqj5zv3wCfTjX8K3udMcB5nuWXv8rdEuBOWI4= +=dY5K +-----END PGP SIGNATURE----- diff --git a/freed-ora/current/master/phy-work-around-phys-references-to-usb-phy-devices.patch b/freed-ora/current/master/phy-work-around-phys-references-to-usb-phy-devices.patch deleted file mode 100644 index 1c7f39b7a..000000000 --- a/freed-ora/current/master/phy-work-around-phys-references-to-usb-phy-devices.patch +++ /dev/null @@ -1,104 +0,0 @@ -From patchwork Mon Jan 8 13:01:10 2018 -Content-Type: text/plain; charset="utf-8" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: phy: work around 'phys' references to usb-phy devices -From: Arnd Bergmann <arnd@arndb.de> -X-Patchwork-Id: 10149439 -Message-Id: <20180108130116.80148-1-arnd@arndb.de> -To: Kishon Vijay Abraham I <kishon@ti.com> -Cc: Stefan Wahren <stefan.wahren@i2se.com>, devicetree@vger.kernel.org, - Florian Fainelli <f.fainelli@gmail.com>, Arnd Bergmann <arnd@arndb.de>, - Felipe Balbi <balbi@kernel.org>, linux-usb@vger.kernel.org, - linux-kernel@vger.kernel.org, stable@vger.kernel.org, - Eric Anholt <eric@anholt.net>, Rob Herring <robh+dt@kernel.org>, - Andrzej Pietrasiewicz <andrzej.p@samsung.com>, - linux-arm-kernel@lists.infradead.org -Date: Mon, 8 Jan 2018 14:01:10 +0100 - -Stefan Wahren reports a problem with a warning fix that was merged -for v4.15: we had lots of device nodes with a 'phys' property pointing -to a device node that is not compliant with the binding documented in -Documentation/devicetree/bindings/phy/phy-bindings.txt - -This generally works because USB HCD drivers that support both the generic -phy subsystem and the older usb-phy subsystem ignore most errors from -phy_get() and related calls and then use the usb-phy driver instead. - -However, usb_add_hcd() (along with the respective functions in dwc2 and -dwc3) propagate the EPROBE_DEFER return code so we can try again whenever -the driver gets loaded. In case the driver is written for the usb-phy -subsystem (like usb-generic-phy aka usb-nop-xceiv), we will never load -a generic-phy driver for it, and keep failing here. - -There is only a small number of remaining usb-phy drivers that support -device tree, so this adds a workaround by providing a full list of the -potentially affected drivers, and always failing the probe with -ENODEV -here, which is the same behavior that we used to get with incorrect -device tree files. Since we generally want older kernels to also want -to work with the fixed devicetree files, it would be good to backport -the patch into stable kernels as well (3.13+ are possibly affected). -Reverting back to the DTS sources that work would in theory fix USB -support for now, but in the long run we'd run into the same problem -again when the drivers get ported from usb-phy to generic-phy. - -Fixes: 014d6da6cb25 ("ARM: dts: bcm283x: Fix DTC warnings about missing phy-cells") -Link: https://marc.info/?l=linux-usb&m=151518314314753&w=2 -Cc: stable@vger.kernel.org -Cc: Stefan Wahren <stefan.wahren@i2se.com> -Cc: Felipe Balbi <balbi@kernel.org> -Signed-off-by: Arnd Bergmann <arnd@arndb.de> ---- -This obviously needs to be tested, I wrote this up as a reply to -Stefan's bug report. I'm fairly sure that I covered all usb-phy -driver strings here. My goal is to have a fix merged into 4.15 -rather than reverting all the DT fixes. ---- - drivers/phy/phy-core.c | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c -index b4964b067aec..bb4dd2a2de2d 100644 ---- a/drivers/phy/phy-core.c -+++ b/drivers/phy/phy-core.c -@@ -387,6 +387,24 @@ int phy_calibrate(struct phy *phy) - } - EXPORT_SYMBOL_GPL(phy_calibrate); - -+static struct of_device_id __maybe_unused legacy_usbphy[] = { -+ { .compatible = "fsl,imx23-usbphy" }, -+ { .compatible = "fsl,imx6q-usbphy" }, -+ { .compatible = "fsl,imx6sl-usbphy" }, -+ { .compatible = "fsl,imx6sx-usbphy" }, -+ { .compatible = "fsl,imx6ul-usbphy" }, -+ { .compatible = "fsl,vf610-usbphy" }, -+ { .compatible = "nvidia,tegra20-usb-phy" }, -+ { .compatible = "nvidia,tegra30-usb-phy" }, -+ { .compatible = "nxp,isp1301" }, -+ { .compatible = "ti,am335x-usb-ctrl-module" }, -+ { .compatible = "ti,am335x-usb-phy" }, -+ { .compatible = "ti,keystone-usbphy" }, -+ { .compatible = "ti,twl6030-usb" }, -+ { .compatible = "usb-nop-xceiv" }, -+ {}, -+}; -+ - /** - * _of_phy_get() - lookup and obtain a reference to a phy by phandle - * @np: device_node for which to get the phy -@@ -410,6 +428,15 @@ static struct phy *_of_phy_get(struct device_node *np, int index) - if (ret) - return ERR_PTR(-ENODEV); - -+ /* -+ * Some USB host controllers use a "phys" property to refer to -+ * a device that does not have a generic phy driver but that -+ * has a driver for the older usb-phy framework. -+ * We must not return -EPROBE_DEFER for those, so bail out early. -+ */ -+ if (of_match_node(legacy_usbphy, args.np)) -+ return ERR_PTR(-ENODEV); -+ - mutex_lock(&phy_provider_mutex); - phy_provider = of_phy_provider_lookup(args.np); - if (IS_ERR(phy_provider) || !try_module_get(phy_provider->owner)) { diff --git a/freed-ora/current/master/sources b/freed-ora/current/master/sources index fae719957..4821b09d6 100644 --- a/freed-ora/current/master/sources +++ b/freed-ora/current/master/sources @@ -1,3 +1,3 @@ SHA512 (linux-libre-4.14-gnu.tar.xz) = 0d4b0b8ec1ffc39c59295adf56f6a2cccf77cad56d8a8bf8072624bbb52ba3e684147ebed91d1528d2685423dd784c5fca0f3650f874f2b93cfc6b7689b9a87f SHA512 (perf-man-4.14.tar.gz) = 76a9d8adc284cdffd4b3fbb060e7f9a14109267707ce1d03f4c3239cd70d8d164f697da3a0f90a363fbcac42a61d3c378afbcc2a86f112c501b9cb5ce74ef9f8 -SHA512 (patch-4.14-gnu-4.15-rc8-gnu.xz) = ed68a098d92ec9253fe0360cbf2d42478530c70e1bfc48b607cbd203ed16638dcaccfcd373d5b48f02f4f8c64da9404b39b68b73784c73b7c8a10340b52876cf +SHA512 (patch-4.14-gnu-4.15-rc9-gnu.xz) = 142aa576c270101f411140d6b3c58478e941dc2435e1c50652c29f9f9529e428690cb698150fdc268aea9d485fce44ca2f1e9b37ec81261e7788f12cb2c1263a diff --git a/freed-ora/current/master/v3-2-2-Input-synaptics---Lenovo-X1-Carbon-5-should-use-SMBUS-RMI.patch b/freed-ora/current/master/v3-2-2-Input-synaptics---Lenovo-X1-Carbon-5-should-use-SMBUS-RMI.patch index a37b15ec7..7e22e3669 100644 --- a/freed-ora/current/master/v3-2-2-Input-synaptics---Lenovo-X1-Carbon-5-should-use-SMBUS-RMI.patch +++ b/freed-ora/current/master/v3-2-2-Input-synaptics---Lenovo-X1-Carbon-5-should-use-SMBUS-RMI.patch @@ -25,5 +25,5 @@ index ee5466a374bf..b3c683a84d3f 100644 "LEN004a", /* W541 */ + "LEN0073", /* X1 Carbon 5 */ "LEN200f", /* T450s */ + "LEN2018", /* T460p */ NULL - }; |