Re: [PATCH] staging: rtl8723bs: Mark ACPI table declaration as used

2018-09-26 Thread Greg Kroah-Hartman
On Wed, Sep 26, 2018 at 04:20:55PM -0700, Nathan Chancellor wrote: > Clang emits the following warning: > > drivers/staging/rtl8723bs/os_dep/sdio_intf.c:25:36: warning: variable > 'acpi_ids' is not needed and will not be emitted > [-Wunneeded-internal-declaration] > static const struct

RE: [PATCH V3 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support

2018-09-26 Thread Michael Kelley (EOSG)
From: Tianyu Lan Sent: Wednesday, September 26, 2018 8:50 PM > > Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb > with specified ranges. This patch is to add the hypercall support. > > Signed-off-by: Lan Tianyu > Looks good! Reviewed-by: Michael Kelley

Re: [PATCH V3 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support

2018-09-26 Thread Tianyu Lan
On 9/27/2018 12:16 PM, Michael Kelley (EOSG) wrote: > From: Tianyu Lan Sent: Wednesday, September 26, 2018 8:50 PM >> >> Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb >> with specified ranges. This patch is to add the hypercall support. >> >> Signed-off-by: Lan Tianyu >>

[PATCH V3 7/13] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page

2018-09-26 Thread Tianyu Lan
PV EPT tlb flush function will accept a list of flush ranges and use struct kvm_mmu_page as the list entry. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index

[PATCH V3 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support

2018-09-26 Thread Tianyu Lan
Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb with specified ranges. This patch is to add the hypercall support. Signed-off-by: Lan Tianyu --- Change since v2: Fix some coding style issues - Move HV_MAX_FLUSH_PAGES and HV_MAX_FLUSH_REP_COUNT to

[PATCH V3 9/13] KVM/MMU: Replace tlb flush function with range list flush function

2018-09-26 Thread Tianyu Lan
This patch is to use range list flush function in the mmu_sync_children(), kvm_mmu_commit_zap_page() and FNAME(sync_page)(). Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 26 +++--- arch/x86/kvm/paging_tmpl.h | 5 - 2 files changed, 27 insertions(+), 4

[PATCH V3 3/13] KVM: Replace old tlb flush function with new one to flush a specified range.

2018-09-26 Thread Tianyu Lan
This patch is to replace kvm_flush_remote_tlbs() with kvm_flush_ remote_tlbs_with_address() in some functions without logic change. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 33 ++--- arch/x86/kvm/paging_tmpl.h | 3 ++- 2 files changed, 24

[PATCH V3 8/13] KVM: Add spte's point in the struct kvm_mmu_page

2018-09-26 Thread Tianyu Lan
It's necessary to check whether mmu page is last or large page when add mmu page into flush list. "spte" is needed for such check and so add spte point in the struct kvm_mmu_page. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/mmu.c | 5 +

[PATCH V3 11/13] x86/Hyper-v: Add trace in the hyperv_nested_flush_guest_mapping_range()

2018-09-26 Thread Tianyu Lan
This patch is to trace log in the hyperv_nested_flush_ guest_mapping_range(). Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c| 1 + arch/x86/include/asm/trace/hyperv.h | 14 ++ 2 files changed, 15 insertions(+) diff --git a/arch/x86/hyperv/nested.c

[PATCH V3 4/13] KVM/MMU: Flush tlb directly in the kvm_handle_hva_range()

2018-09-26 Thread Tianyu Lan
This patch is to flush tlb directly in the kvm_handle_hva_range() when range flush is available. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index d10d8423e8d6..877edae0401f 100644 ---

[PATCH V3 1/13] KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

2018-09-26 Thread Tianyu Lan
Add flush range call back in the kvm_x86_ops and platform can use it to register its associated function. The parameter "kvm_tlb_range" accepts a single range and flush list which contains a list of ranges. Signed-off-by: Lan Tianyu --- Change since v1: Change "end_gfn" to "pages" to

[PATCH V3 5/13] KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()

2018-09-26 Thread Tianyu Lan
Originally, flush tlb is done by slot_handle_level_range(). This patch is to flush tlb directly in the kvm_zap_gfn_range() when range flush is available. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git

[PATCH V3 2/13] KVM/MMU: Add tlb flush with range helper function

2018-09-26 Thread Tianyu Lan
This patch is to add wrapper functions for tlb_remote_flush_with_range callback. Signed-off-by: Lan Tianyu --- Change since V2: Fix comment in the kvm_flush_remote_tlbs_with_range() --- arch/x86/kvm/mmu.c | 48 1 file changed, 48

[PATCH V3 00/13] x86/KVM/Hyper-v: Add HV ept tlb range flush hypercall support in KVM

2018-09-26 Thread Tianyu Lan
For nested memory virtualization, Hyper-v doesn't set write-protect L1 hypervisor EPT page directory and page table node to track changes while it relies on guest to tell it changes via HvFlushGuestAddressLlist hypercall. HvFlushGuestAddressLlist hypercall provides a way to flush EPT page table

[PATCH V3 6/13] KVM/MMU: Flush tlb directly in kvm_mmu_zap_collapsible_spte()

2018-09-26 Thread Tianyu Lan
kvm_mmu_zap_collapsible_spte() returns flush request to the slot_handle_leaf() and the latter does flush on demand. When range flush is available, make kvm_mmu_zap_collapsible_spte() to flush tlb with range directly to avoid returning range back to slot_handle_leaf(). Signed-off-by: Lan Tianyu

Did you receive my last email

2018-09-26 Thread Elliot Matare
Hello, I am Elliot Matare. I sent you a business proposal last week and I have not received a response from you so I am not sure if you got the proposal or are not interested. Please let me know so that I can resend it to you if you did not receive it. Regards, Elliot.

Reminder,

2018-09-26 Thread Juliet Muhammad
Hello Please i still await your response regarding my previous email. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: rtl8188eu: Use proper enum in rtl8188eu_config_rf_reg

2018-09-26 Thread Nathan Chancellor
Clang warns when an enumerated type is implicitly converted to another. drivers/staging/rtl8188eu/hal/rf_cfg.c:180:25: warning: implicit conversion from enumeration type 'enum rf90_radio_path' to different enumeration type 'enum rf_radio_path' [-Wenum-conversion] rtl_rfreg_delay(adapt,

[PATCH] staging: rtl8723bs: Mark ACPI table declaration as used

2018-09-26 Thread Nathan Chancellor
Clang emits the following warning: drivers/staging/rtl8723bs/os_dep/sdio_intf.c:25:36: warning: variable 'acpi_ids' is not needed and will not be emitted [-Wunneeded-internal-declaration] static const struct acpi_device_id acpi_ids[] = { ^ 1 warning generated.

Re: [PATCH v3 2/4] dt-bindings: soc: Document "brcm,bcm2836-vchiq"

2018-09-26 Thread Rob Herring
On Mon, 17 Sep 2018 09:22:22 +0100, Phil Elwell wrote: > "brcm,bcm2836-vchiq" should be used on BCM2836 and BCM2837 to ensure > correct operation. > > Signed-off-by: Phil Elwell > Acked-by: Stefan Wahren > --- > Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-vchiq.txt | 3 ++- > 1 file

Re: [PATCH] staging: rtl8723bs: Mark ACPI table declaration as maybe unused

2018-09-26 Thread Nick Desaulniers
On Wed, Sep 26, 2018 at 11:39 AM Greg KH wrote: > > On Wed, Sep 26, 2018 at 11:28:46AM -0700, Nick Desaulniers wrote: > > On Wed, Sep 26, 2018 at 10:55 AM Nick Desaulniers > > wrote: > > > > > > On Wed, Sep 26, 2018 at 12:41 AM Nathan Chancellor > > > wrote: > > > > > > > > On Wed, Sep 26, 2018

[PATCH v2 61/62] staging: wlan-ng: rejoin split lines shortened by case changes

2018-09-26 Thread Tim Collier
The reformatting of case blocks has shortened some lines such that previously split lines can be rejoined without exceeding 80 characters. Rejoined those lines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/hfa384x_usb.c | 6 ++ drivers/staging/wlan-ng/prism2sta.c | 17

[PATCH v2 54/62] staging: wlan-ng: rename DIDmib_p2_p2Static in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_p2_p2Static in p80211metadef.h to DIDMIB_P2_STATIC to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "P2" to ease readability and reduce long lines. Signed-off-by: Tim Collier ---

[PATCH v2 57/62] staging: wlan-ng: rename DIDmib_p2_p2MAC in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_p2_p2MAC in p80211metadef.h to DIDMIB_P2_MAC to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "P2" to ease readability and reduce long lines. Signed-off-by: Tim Collier ---

[PATCH v2 60/62] staging: wlan-ng: make switch case block format consistent

2018-09-26 Thread Tim Collier
For switch statements with case blocks make the format consistent by applying K formatting, a space before the opening brace, single indentation of contained code, break inside the block and closing brace aligned with case. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/hfa384x_usb.c |

[PATCH v2 36/62] staging: wlan-ng: rename DIDmib_dot11smt_dot11PrivacyTable_dot11WEPDefaultKeyID in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11smt_dot11PrivacyTable_dot11WEPDefaultKeyID in p80211metadef.h to DIDMIB_DOT11SMT_PRIVACYTABLE_WEPDEFAULTKEYID to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability

[PATCH v2 49/62] staging: wlan-ng: rename DIDmib_dot11phy_dot11PhyDSSSTable_dot11CurrentChannel in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11phy_dot11PhyDSSSTable_dot11CurrentChannel in p80211metadef.h to DIDMIB_DOT11PHY_DSSSTABLE_CURRENTCHANNEL to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" and "DOT11PHY" to ease

[PATCH v2 62/62] staging: wlan-ng: remove "autogenerated code" comments

2018-09-26 Thread Tim Collier
p80211metadef.h and p80211metastruct.h both have comments stating they are autogenerated and should not be edited. However, neither is generated during build and both have had numerous manual edits since the driver has been in staging. Signed-off-by: Tim Collier ---

[PATCH v2 48/62] staging: wlan-ng: rename DIDmib_dot11phy_dot11PhyDSSSTable in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11phy_dot11PhyDSSSTable in p80211metadef.h to DIDMIB_DOT11PHY_DSSSTABLE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11PHY" to ease readability and reduce long lines. Signed-off-by:

[PATCH v2 40/62] staging: wlan-ng: DIDmib_dot11mac_dot11OperationTable_dot11RTSThreshold in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11mac_dot11OperationTable_dot11RTSThreshold in p80211metadef.h to DIDMIB_DOT11MAC_OPERATIONTABLE_RTSTHRESHOLD to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability and

[PATCH v2 53/62] staging: wlan-ng: rename DIDmib_cat_p2 in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_cat_p2 in p80211metadef.h to DIDMIB_CAT_P2 to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 51/62] staging: wlan-ng: rename DIDmib_lnx_lnxConfigTable in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_lnx_lnxConfigTable in p80211metadef.h to DIDMIB_LNX_CONFIGTABLE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "LNX" to ease readability and reduce long lines. Signed-off-by: Tim Collier ---

[PATCH v2 37/62] staging: wlan-ng: rename DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11smt_dot11PrivacyTable_dot11ExcludeUnencrypted in p80211metadef.h to DIDMIB_DOT11SMT_PRIVACYTABLE_EXCLUDEUNENCRYPTED to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease

[PATCH v2 39/62] staging: wlan-ng: rename DIDmib_dot11mac_dot11OperationTable_dot11MACAddress in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11mac_dot11OperationTable_dot11MACAddress in p80211metadef.h to DIDMIB_DOT11MAC_OPERATIONTABLE_MACADDRESS to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability and

[PATCH v2 59/62] staging: wlan-ng: formatting cleanup in cfg80211.c

2018-09-26 Thread Tim Collier
Combine previously split lines for an assignment; now fits in 80 characters as the name of the macro being assigned was shortened. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/cfg80211.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v2 55/62] staging: wlan-ng: rename DIDmib_p2_p2Static_p2CnfPortType in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_p2_p2Static_p2CnfPortType in p80211metadef.h to DIDMIB_P2_STATIC_CNFPORTTYPE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "P2" to ease readability and reduce long lines. Signed-off-by: Tim

[PATCH v2 46/62] staging: wlan-ng: rename DIDmib_dot11phy_dot11PhyOperationTable in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11phy_dot11PhyOperationTable in p80211metadef.h to DIDMIB_DOT11PHY_OPERATIONTABLE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11PHY" to ease readability and reduce long lines.

[PATCH v2 43/62] staging: wlan-ng: rename DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11mac_dot11OperationTable_dot11FragmentationThreshold in p80211metadef.h to DIDMIB_DOT11MAC_OPERATIONTABLE_FRAGMENTATIONTHRESHOLD to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to

[PATCH v2 52/62] staging: wlan-ng: rename DIDmib_lnx_lnxConfigTable_lnxRSNAIE in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_lnx_lnxConfigTable_lnxRSNAIE in p80211metadef.h to DIDMIB_LNX_CONFIGTABLE_RSNAIE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "LNX" to ease readability and reduce long lines. Signed-off-by:

[PATCH v2 50/62] staging: wlan-ng: rename DIDmib_cat_lnx in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_cat_lnx in p80211metadef.h to DIDMIB_CAT_LNX to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 30/62] staging: wlan-ng: rename DIDmsg_p2req_flashdl_write in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_flashdl_write in p80211metadef.h to DIDMSG_P2REQ_FLASHDL_WRITE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2sta.c

[PATCH v2 42/62] staging: wlan-ng: rename DIDmib_dot11mac_dot11OperationTable_dot11LongRetryLimit in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11mac_dot11OperationTable_dot11LongRetryLimitin p80211metadef.h to DIDMIB_DOT11MAC_OPERATIONTABLE_LONGRETRYLIMIT to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability

[PATCH v2 41/62] staging: wlan-ng: rename DIDmib_dot11mac_dot11OperationTable_dot11ShortRetryLimit in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11mac_dot11OperationTable_dot11ShortRetryLimit in p80211metadef.h to DIDMIB_DOT11MAC_OPERATIONTABLE_SHORTRETRYLIMIT to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease

[PATCH v2 31/62] staging: wlan-ng: rename DIDmib_cat_dot11smt in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_cat_dot11smt in p80211metadef.h to DIDMIB_CAT_DOT11SMT to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 38/62] staging: wlan-ng: rename DIDmib_dot11mac_dot11OperationTable in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11mac_dot11OperationTable in p80211metadef.h to DIDMIB_DOT11MAC_OPERATIONTABLE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability and reduce long lines.

[PATCH v2 56/62] staging: wlan-ng: rename DIDmib_p2_p2NIC_p2PRISupRange in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_p2_p2NIC_p2PRISupRange in p80211metadef.h to DIDMIB_P2_NIC_PRISUPRANGE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "P2" to ease readability and reduce long lines. Signed-off-by: Tim

[PATCH v2 45/62] staging: wlan-ng: rename DIDmib_cat_dot11phy in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_cat_dot11phy in p80211metadef.h to DIDMIB_CAT_DOT11PHY to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 58/62] staging: wlan-ng: rename DIDmib_p2_p2MAC_p2CurrentTxRate in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_p2_p2MAC_p2CurrentTxRate in p80211metadef.h to DIDMIB_P2_MAC_CURRENTTXRATE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "P2" to ease readability and reduce long lines. Signed-off-by: Tim

[PATCH v2 47/62] staging: wlan-ng: rename DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel in p80211metadef.h to DIDMIB_DOT11PHY_TXPOWERTABLE_CURRENTTXPOWERLEVEL to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" and

[PATCH v2 44/62] staging: wlan-ng: rename DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime in p80211metadef.h to DIDMIB_DOT11MAC_OPERATIONTABLE_MAXTRANSMITMSDULIFETIME to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to

[PATCH v2 34/62] staging: wlan-ng: rename DIDmib_dot11smt_dot11PrivacyTable in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11smt_dot11PrivacyTable to DIDMIB_DOT11SMT_PRIVACYTABLE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability and reduce long lines. Signed-off-by: Tim Collier ---

[PATCH v2 23/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_state_resultcode in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_state_resultcode in p80211metadef.h to DIDMSG_P2REQ_RAMDL_STATE_RESULTCODE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 21/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_state_enable in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_state_enable in p80211metadef.h to DIDMSG_P2REQ_RAMDL_STATE_ENABLE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 27/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_write_data in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_write_data in p80211metadef.h to DIDMSG_P2REQ_RAMDL_WRITE_DATA to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2fw.c

[PATCH v2 28/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_write_resultcode in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_write_resultcode in p80211metadef.h to DIDMSG_P2REQ_RAMDL_WRITE_RESULTCODE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 33/62] staging: wlan-ng: rename DIDmib_dot11smt_dot11WEPDefaultKeysTable_key in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11smt_dot11WEPDefaultKeysTable_key in p80211metadef.h to didmib_dot11smt_wepdefaultkeystable_key to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability and reduce long

[PATCH v2 26/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_write_len in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_write_len to DIDMSG_P2REQ_RAMDL_WRITE_LEN to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2fw.c | 2 +- 2 files

[PATCH v2 32/62] staging: wlan-ng: rename DIDmib_dot11smt_dot11WEPDefaultKeysTable in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11smt_dot11WEPDefaultKeysTable in p80211metadef.h to DIDMIB_DOT11SMT_WEPDEFAULTKEYSTABLE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability and reduce long lines.

[PATCH v2 35/62] staging: wlan-ng: rename DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmib_dot11smt_dot11PrivacyTable_dot11PrivacyInvoked to DIDMIB_DOT11SMT_PRIVACYTABLE_PRIVACYINVOKED to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Also shorten name by removing repeated use of "DOT11" to ease readability and reduce long lines.

[PATCH v2 29/62] staging: wlan-ng: rename DIDmsg_p2req_flashdl_state in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_flashdl_state in p80211metadef.h to DIDMSG_P2REQ_FLASHDL_STATE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2sta.c

[PATCH v2 07/62] staging: wlan-ng: rename DIDmsg_dot11req_scan in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_scan in p80211metadef.h to DIDMSG_DOT11REQ_SCAN to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/cfg80211.c | 2 +- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 11/62] staging: wlan-ng: rename DIDmsg_lnxreq_ifstate in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_lnxreq_ifstate in p80211metadef.h to DIDMSG_LNXREQ_IFSTATE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/p80211req.c | 2 +-

[PATCH v2 14/62] staging: wlan-ng: rename DIDmsg_lnxreq_commsquality in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_lnxreq_commsquality in p80211metadef.h to DIDMSG_LNXREQ_COMMSQUALITY to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/cfg80211.c | 2 +- drivers/staging/wlan-ng/p80211metadef.h

[PATCH v2 17/62] staging: wlan-ng: rename DIDmsg_p2req_readpda_pda in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_readpda_pda in p80211metadef.h to DIDMSG_P2REQ_READPDA_PDA to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2fw.c | 2

[PATCH v2 18/62] staging: wlan-ng: rename DIDmsg_dot11ind_associate in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11ind_associate in p80211metadef.h to DIDMSG_DOT11IND_ASSOCIATE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 03/62] staging: wlan-ng: rename DIDmsg_dot11req_mibget_resultcode in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_mibget_resultcode in p80211metadef.h to DIDMSG_DOT11REQ_MIBGET_RESULTCODE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 25/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_write_addr in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_write_addr in p80211metadef.h to DIDMSG_P2REQ_RAMDL_WRITE_ADDR to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2fw.c

[PATCH v2 04/62] staging: wlan-ng: rename DIDmsg_dot11req_mibset in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_mibset in p80211metadef.h to DIDMSG_DOT11REQ_MIBSET to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/cfg80211.c | 4 ++-- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 24/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_write in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_write in p80211metadef.h to DIDMSG_P2REQ_RAMDL_WRITE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2fw.c | 2

[PATCH v2 09/62] staging: wlan-ng: rename DIDmsg_dot11req_start in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_start in p80211metadef.h to DIDMSG_DOT11REQ_START to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2sta.c | 2 +- 2

[PATCH v2 08/62] staging: wlan-ng: rename DIDmsg_dot11req_scan_results in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_scan_results in p80211metadef.h to DIDMSG_DOT11REQ_SCAN_RESULTS to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/cfg80211.c | 2 +-

[PATCH v2 06/62] staging: wlan-ng: rename DIDmsg_dot11req_mibset_resultcode in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_mibset_resultcode in p80211metadef.h to DIDMSG_DOT11REQ_MIBSET_RESULTCODE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 01/62] staging: wlan-ng: rename DIDmsg_dot11req_mibget in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_mibget in p80211metadef.h to DIDMSG_DOT11REQ_MIBGET to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/cfg80211.c | 2 +- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 15/62] staging: wlan-ng: rename DIDmsg_lnxreq_autojoin in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_lnxreq_autojoin in p80211metadef.h to DIDMSG_LNXREQ_AUTOJOIN to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/cfg80211.c | 4 ++-- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 10/62] staging: wlan-ng: rename DIDmsg_dot11ind_authenticate in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11ind_authenticate in p80211metadef.h to DIDMSG_DOT11IND_AUTHENTICATE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 22/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_state_exeaddr in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_state_exeaddr in p80211metadef.h to DIDMSG_P2REQ_RAMDL_STATE_EXEADDR to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 12/62] staging: wlan-ng: rename DIDmsg_lnxreq_wlansniff in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_lnxreq_wlansniff in p80211metadef.h to DIDMSG_LNXREQ_WLANSNIFF to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2sta.c | 2 +-

[PATCH v2 20/62] staging: wlan-ng: rename DIDmsg_p2req_ramdl_state in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_ramdl_state to DIDMSG_P2REQ_RAMDL_STATE in p80211metadef.h to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2fw.c | 2

[PATCH v2 19/62] staging: wlan-ng: rename DIDmsg_p2req_readpda_resultcode in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_readpda_resultcode in p80211metadef.h to DIDMSG_P2REQ_READPDA_RESULTCODE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 16/62] staging: wlan-ng: rename DIDmsg_p2req_readpda in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_p2req_readpda in p80211metadef.h to DIDMSG_P2REQ_READPDA to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/prism2fw.c | 2 +-

[PATCH v2 02/62] staging: wlan-ng: rename DIDmsg_dot11req_mibget_mibattribute in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_mibget_mibattribute in p80211metadef.h to DIDMSG_DOT11REQ_MIBGET_MIBATTRIBUTE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

[PATCH v2 13/62] staging: wlan-ng: rename DIDmsg_lnxreq_hostwep in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_lnxreq_hostwep in p80211metadef.h to DIDMSG_LNXREQ_HOSTWEP to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +- drivers/staging/wlan-ng/p80211req.c | 2 +-

[PATCH v2 00/62] staging: wlan-ng: coding style changes/cleanups

2018-09-26 Thread Tim Collier
Switch to all-upper or all-lower (for function-style) case names for macros in p80211metadef.h to silence checkpatch messages and match the coding guidelines. Shorten names that have repeated elements. Rejoin lines split to keep within 80 characters that now fit due to shortened names. Make the

[PATCH v2 05/62] staging: wlan-ng: rename DIDmsg_dot11req_mibset_mibattribute in p80211metadef.h

2018-09-26 Thread Tim Collier
Rename DIDmsg_dot11req_mibset_mibattribute in p80211metadef.h to DIDMSG_DOT11REQ_MIBSET_MIBATTRIBUTE to fix "Avoid CamelCase" message from checkpatch and conform to the coding style guidelines. Signed-off-by: Tim Collier --- drivers/staging/wlan-ng/p80211metadef.h | 2 +-

Re: [PATCH 2/2] mmc: Add mmc_force_detect_change_begin / _end functions

2018-09-26 Thread Hans de Goede
Hi, On 26-09-18 16:44, Frieder Schrempf wrote: Hi, On Fri, Feb 09, 2018 at 03:01:00PM +0100, Ulf Hansson wrote: [...] >> > I'd like to know if any progress has been made on that problem (I may >> > have missed patches). >> > Had you had the time to look at the issue? >> >> I have looked

[PATCH 3/4] staging: rtl8188eu: rename variable - style

2018-09-26 Thread Michael Straube
Rename the return value variable in some functions in rtw_efuse.c to avoid CamelCase. bRet -> ret Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_efuse.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git

[PATCH 4/4] staging: rtl8188eu: use break to exit while loop

2018-09-26 Thread Michael Straube
The variable bContinual is only used to break out of the while loop. Remove the variable and use break instead. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_efuse.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH 1/4] staging: rtl8188eu: simplify function comments - style

2018-09-26 Thread Michael Straube
Simplify function comments. Clears a 'line over 80 characters' checkpatch warning. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_efuse.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c

[PATCH 2/4] staging: rtl8188eu: do not line break function definition - style

2018-09-26 Thread Michael Straube
Do not line break function definition. Clears a checkpatch issue. CHECK: Lines should not end with a '(' Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_efuse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 10/15] staging: vboxvideo: Restore page-flip support

2018-09-26 Thread Hans de Goede
Restore page-flip support now that the atomic conversion is complete. Since the mode parameter to vbox_crtc_set_base_and_mode() now never is NULL call drm_atomic_crtc_needs_modeset() to check if we need to check for input-mapping changes, to avoid doing unnecesarry work on a flip. And hookup the

[PATCH 14/15] staging: vboxvideo: Drop unnecessary drm_connector_helper_funcs callbacks

2018-09-26 Thread Hans de Goede
vbox_mode_valid always returns MODE_OK, which is also the default if no mode_valid callback is defined. vbox_best_single_encoder chains to drm_encoder_find, the drm-core will call drm_encoder_find itself if there is no best_encoder call back. Signed-off-by: Hans de Goede ---

[PATCH 15/15] staging: vboxvideo: Use more drm_fb_helper functions

2018-09-26 Thread Hans de Goede
Store fbhelper and afb struct directly in vbox_private and use drm_fb_helper_fbdev_setup to replace vbox_fbdev_init, note we cannot use drm_fb_helper_fbdev_teardown since we use a private framebuffer for the fbdev. And replace vbox_driver_lastclose with drm_fb_helper_lastclose. Signed-off-by:

[PATCH 03/15] staging: vboxvideo: Temporarily remove page_flip support

2018-09-26 Thread Hans de Goede
drm_mode_page_flip_ioctl() cannot deal with the in between phase of the transitioning to atomic modeset support. Once we start using drm_helper_crtc_mode_set(), we start setting plane->state on the primary plane. But we are not fully atomic yet so then set both plane-state->fb and plane->fb. If

[PATCH 06/15] staging: vboxvideo: Atomic phase 1: Use drm_plane_helpers for primary plane

2018-09-26 Thread Hans de Goede
Use drm_plane_helpers for the primary plane and replace our custom mode_set callback with drm_helper_crtc_mode_set. Signed-off-by: Hans de Goede --- drivers/staging/vboxvideo/vbox_mode.c | 116 -- 1 file changed, 90 insertions(+), 26 deletions(-) diff --git

[PATCH 12/15] staging: vboxvideo: Replace crtc_helper enable/disable functions

2018-09-26 Thread Hans de Goede
Replace vbox_crtc_commit and vbox_crtc_disable with vbox_crtc_atomic_[en|dis]able which are the preferred callbacks for these for atomic drivers. Signed-off-by: Hans de Goede --- drivers/staging/vboxvideo/vbox_mode.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[PATCH 13/15] staging: vboxvideo: Call drm_atomic_helper_check_plane_state from atomic_check

2018-09-26 Thread Hans de Goede
Extend our planes atomic_check callbacks to be more thorough by calling the drm_atomic_helper_check_plane_state helper. Signed-off-by: Hans de Goede --- drivers/staging/vboxvideo/vbox_mode.c | 30 ++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git

[PATCH 02/15] staging: vboxvideo: Remove empty encoder_helper_funcs

2018-09-26 Thread Hans de Goede
All the encoder_helper_funcs are optional, and even setting the drm_encoder_helper_funcs vtable itself is optional and may be left out when not using any of the helper funcs, so lets drop all of this. Signed-off-by: Hans de Goede --- drivers/staging/vboxvideo/vbox_mode.c | 34

[PATCH 05/15] staging: vboxvideo: Atomic phase 1: convert cursor to universal plane

2018-09-26 Thread Hans de Goede
In preparation for atomic conversion, let's use the transitional atomic helpers drm_plane_helper_update/disable. Signed-off-by: Hans de Goede --- drivers/staging/vboxvideo/vbox_drv.h | 5 - drivers/staging/vboxvideo/vbox_mode.c | 386 +- 2 files changed, 186

[PATCH 11/15] staging: vboxvideo: Fix DPMS support after atomic conversion

2018-09-26 Thread Hans de Goede
Atomic modesetting does not use the traditional dpms call backs, instead we should check crtc_state->active. Signed-off-by: Hans de Goede --- drivers/staging/vboxvideo/vbox_drv.h | 1 - drivers/staging/vboxvideo/vbox_mode.c | 28 ++- 2 files changed, 2 insertions(+),

[PATCH 09/15] staging: vboxvideo: Atomic phase 3: Switch last bits over to atomic

2018-09-26 Thread Hans de Goede
Now that the state objects are wired up, we can: 1) Move to the final atomic handlers 2) Wire up atomic set_config helper 3) Switch to drm_mode_config_helper_suspend/resume for suspend/resume 4) Enable atomic modesetting ioctl This is all done in one commit because doing this piecemeal leads to

  1   2   >